PowerCLI: Update VMwaretools without a reboot

From VI-Toolkit
Jump to navigation Jump to search

There appears to be a bug in the VMwareToolsUpgrader.exe that will cause the system to reboot no matter what. This behavior is especially bothersome because the VI API simply calls that executable to perform any non-interactive upgrade.

This morning I was updating a smaller farm to update 4. 15 minuets into the tools upgrade process I had enough… Enter PowerShell, I whipped up a quick script that will update All Windows VM’s to the latest version of VMware Tools.

Get-Admin: PowerCLI Update VMware Tools without a reboot