如何使用木偶螺栓在远程机器中运行命令或执行脚本



我试图在远程机器中使用木偶螺栓执行命令,但在powershell中出现以下错误。

bolt command run "Get-Process" --nodes winrm://localhost --no-ssl 

错误:

未知参数"--nodes">

bolt command run 'uname -a' --targets 192.168.0.145

错误:

在192.168.0.140上失败:连接到192.168.0.140 10秒后超时
在1个目标上失败:192.168.0.140
192.168.0.140上失败:连接到192.168.0.140 10秒后超时
在1个目标上失败:192.168.0.140

如何修复的上述问题

显示当前版本已将"--nodes"更改为"--targets">

最新更新