

The only command that I can run so far is the Get -VM.

+ FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError.Commands.InvokeVmScriptĭoes any one is familiar with that Error ?

+ Invoke-VMScript -VM $VMName -ScriptText $remote_script -GuestUser $GuestCred. Invoke-VMScript : 12:04:49 PM Invoke-VMScript Exception has been thrown by the target of an invocation. Invoke-VMScript -VM $VMName -ScriptText $remote_script -GuestUser $GuestCred -GuestPassword $GuestPass -ScriptType Powershell The same behavior happens with an Invoke command and I can't do almost anything. but I would like to resolve this sooner than later. I have to complete the config of a few dozens of win2k16 vms and I could not figure out what is missed or broken. + FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError.Commands.StopVMĮxception has been thrown by the target of an invocation + CategoryInfo : NotSpecified: (:), VimException + Stop-VM -VM $VMName -Confirm:$false -Kill Stop-VM : 11:37:16 AM Stop-VM Exception has been thrown by the target of an invocation.Īt D:\Scripts\vscript\~_remote.ps1:89 char:4 Stop-VM -VM $VMName -Confirm:$false -Kill #Restart-VMGuest -vm $VMName -Confirm:$false So, I am unable to get this to work a simple VM OS restart does not work. Hello folks, I am going no where with this.
