Hi All,
Can we do VMware tools upgrade for a specific list of VM's without re-boot through power cli automation? Since we are finding a difficult time to get downtime from customer.
E.g. C:\Temp\vmlist
Get-VM cwv-gasmngr1 | Update-Tools –NoReboot -RunAsync
thanks
vmk
Try like this.
Note that even when NoReboot is specified, there might be a reboot.
Get-VM -Name $vmNames |
Update-Tools -NoReboot -RunAsync
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Even with the -NoReboot option you will still need to reboot Windows VMs to get them to use the new drivers in the newer version of VMware Tools. It is not recommended to run the VM for a prolonged amount of time after updating VMware Tools before doing a reboot.
LucD,
Can't we push the re-boot later time using the script? Example patching window?
thanks
vmk
Can't we push the re-boot later time using the script? Example patching window?
No, not with that cmdlet.
You could schedule a reboot of the station with the Task Scheduler (via Invoke-VMScript).
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference