Musings of a PowerShell Mad Man
PowerShell, VMware, and anything else I find interesting or keep forgetting
Friday, August 19, 2011
Updating VMWare Tools on all powered on Windows VM's
Quick PowerCLI line to update the VMWare Tools all Windows VM's that are powered on without rebooting them:
get-vm | where {$_.PowerState -eq "PoweredOn" -and $_.Guest.OSFullName -match "Microsoft Windows*" } | Update-Tools -NoReboot
Oh how I love PowerCLI...
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment