PowerCLI

 View Only
  • 1.  VMware tools upgrade with no-reboot

    Posted Feb 13, 2019 03:10 PM

    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



  • 2.  RE: VMware tools upgrade with no-reboot

    Posted Feb 13, 2019 03:23 PM

    Try like this.

    Note that even when NoReboot is specified, there might be a reboot.

    $vmNames = Get-Content -Path C:\Temp\vmliste.txt | where {$_}

    Get-VM -Name $vmNames |

       Update-Tools -NoReboot -RunAsync



  • 3.  RE: VMware tools upgrade with no-reboot

    Posted Feb 13, 2019 03:55 PM

    LucD,

    Can't we push the re-boot later time using the script? Example patching window? 

    thanks

    vmk



  • 4.  RE: VMware tools upgrade with no-reboot

    Posted Feb 13, 2019 03:57 PM

    No, not with that cmdlet.

    You could schedule a reboot of the station with the Task Scheduler (via Invoke-VMScript).



  • 5.  RE: VMware tools upgrade with no-reboot

    Posted Feb 13, 2019 03:48 PM

    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.



  • 6.  RE: VMware tools upgrade with no-reboot

    Posted Feb 13, 2019 03:55 PM

    Can't we push the re-boot later time using the script? Example patching window?