Every once in a while I check-up on Hal Rottenberg’s weblog TechProsaic. Just curious if his upcoming PowerShell book is available yet. Hal’s last post mentions a Community tread which contains a script to install the VMware tools on a bunch of virtual machines without rebooting them. Here is the PowerShell script.
$cluster = "< >" # Enter the required cluster name
$installerArgs = 'REBOOT="ReallySuppress"'
Get-Cluster -Name $cluster | Get-VM | % { (Get-View $_).UpgradeTools_Task($installerArgs) }