Rather than use "Stop-VM" command, I'd like to use the "shut down guest" functionality in the VMware tools scripts and VirtualCenter. Is this possible via Powershell?
Isn't the Shutdown-VmGuest doing this ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Isn't the Shutdown-VmGuest doing this ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thank you - that was it... I was looking for the command under the get-vm help. That helped me out. Thanks again.
Hi,
I'm using the VI toolkit for Windows and it seems that I don't have the Shutdown-VmGuest cmdlet. Is this normal?
Thank you
Raphaël
Are you using the latest build (81531) ?
You can check with Get-VIToolkitVersion.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
You must be using an earlier build. If you don't see the below, then you are using a build before the public beta. Unless of course I've mixed up which build is which which is entirely possible.
34# Get-Command *guest* CommandType Name Definition ----------- ---- ---------- Cmdlet Get-VMGuest Get-VMGuest [-VM] <VirtualMachine[]> ... Cmdlet Restart-VmGuest Restart-VmGuest [[-VM] <VirtualMachin... Cmdlet Shutdown-VmGuest Shutdown-VmGuest [[-VM] <VirtualMachi... Cmdlet Suspend-VmGuest Suspend-VmGuest [[-VM] <VirtualMachin...
Hal Rottenberg
Co-Host, PowerScripting Podcast (http://powerscripting.net)
sorry for answering that late!
I don't even got the Get-VIToolkitVersion cmdlet! :smileygrin: I'm using build 68764...
I have just downloaded the 81531. I'm gonna retry.
Thank you for your help.
Sincerely