Closed dandunckelman closed 6 years ago
I have the exactly same error, anyone knows why?
` PS /powershell> Invoke-VMScript -VM $vm -ScriptType bash -ScriptText "ls" -GuestUser root -GuestPassword Passw0rd Invoke-VMScript : 02/26/2018 02:52:16 Invoke-VMScript An error occurred while sending the request. At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [Invoke-VMScript], ViError
+ FullyQualifiedErrorId : Client20_VmGuestServiceImpl_DownloadFileFromGuest_DownloadError,VMware.
VimAutomation.ViCore.Cmdlets.Commands.InvokeVmScript
`
but it still works sometimes.
` PS /powershell> Invoke-VMScript -VM $vm -ScriptType bash -ScriptText "ls" -GuestUser root -GuestPassword Passw0rd
anaconda-ks.cfg | Desktop | Documents | Downloads | initial-setup-ks.cfg | Music | Pictures | Public | Templates | Videos | vmtool-installation.log |
---|
` anyone knows why? please help
For PowerCLI issues, please open an SR through https://my.vmware.com or ask the community at https://vmware.com/go/powercli
Summary
The
Invoke-VMScript
command results in an error.How I start the container
Summary of my script
Expected Results
When I run it locally on a Windows machine (where powerCLI is installed...not a Docker container), I get this:
Actual Results
Please let me know if I can provide any more info to help.
Thanks