![]()
PowerShell: Update Vm’s Without a Reboot.
Here is a quick and dirty way to update your vmware tools on your Vm’s without a reboot… It’s a pretty dirty way, but it worked like a charm on all of my VM’s…. This will only work on VM’s that already have the tools installed… This will NOT install the tools to a VM that does NOT have them installed… Im a PS Novice Fo’ Sho, I’ll work to clean up the script here soon.. This worked perfect in my vSphere/Vcenter 4.0 Environment… YMMV.
One thing to note, you can probably take out the “get-Cluster” statement. I only wanted to update a particular Cluster in my environment, so hence the “get-cluster”….