I've got around 100 Vitual Machines (Redhat + Win) on which I have out of date (or no installation at all) of VmWare Tools.
Is there a way to automate this installation, via scheduller / or powershell script or anything else ?
I don't care about reboot. I can reboot if needed.
The only constraint I have is to automate this because I don't want to do more than 100 upgrades / installs
In that case, do you have any command line to do that ?
I've found this in a post:
1. Create schedulled task and use this script:
server\vmtools\setup.exe /s /v"/qn REINSTALLMODE=voums REINSTALL=ALL
You must copy VMtools install files to network share "vmtools"
2. Create another schedulled task which will reboot server
1=> Where can I find this setup.exe ?
2=> Is this working for my RedHat VM ?
On PowerCLI I used this to realise update.
$installerArgs = 'REBOOT="ReallySuppress"'
(Get-VM VM_NAME | Get-View).UpgradeTools_Task($installerArgs)
After that My vmwareTools are still "out of date". Do I need to reboot the VM to make them OK ?