在Linux终端中执行AZ代码时出错

时间:2019-04-29 18:32:48

标签: winrm

我遇到了一个问题,我需要在linux终端中运行az vm运行命令代码,遇到语法错误等错误:输入的格式必须为{KEY = \“ VALUE \” [ ; KEY = \“ VALUE \”]}。

az vm运行命令调用-g rgname -n vmname --command-id RunPowerShellScript --scripts“ winrm set winrm / config / service'@ {AllowUnencrypted =” true“}'”

这是代码。目标计算机是Windows计算机

当我运行上面的代码而没有任何错误时,我需要获取输出

0 个答案:

没有答案