- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have the VMware Tools installed you can do
Get-VM | Shutdown-VMGuest -Confirm:$false
and
Get-VM | Start-VM -Confirm:$false
Note that the Shutdown-VMGuest cmdlet does not wait for the guest OS to complete the shutdown !
____________
Blog: LucD notes
Twitter: lucd22
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference