【发布时间】:2015-03-12 16:39:32
【问题描述】:
在 linux 机器上运行以下命令,但失败并出现以下错误:
Invoke-VMScript <<<< -VM $machine.Name -ScriptType Bash -GuestUser $UserName -GuestPassword $Password -ScriptText $cmd -ToolsWaitSecs 400
错误:
Invoke-VMScript The underlying connection was closed: An unexpected error occurred on a receive.
+ CategoryInfo : NotSpecified: (:) [Invoke-VMScript], ViError
+ FullyQualifiedErrorId : Client20_VmGuestServiceImpl_DownloadFileFromGuest_DownloadError,VMware.VimAutomation.ViCore.Cmdlets.Commands.InvokeVmScript
【问题讨论】:
标签: powershell vmware powercli