Checking and Updating VMware Tools with PowerShell

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 8

  • @DJCreedon
    @DJCreedon 3 года назад

    Thanks, this is great!!
    Could you make a loop that would get the VMware tools version for all your VMs?

    • @TomsTechShow
      @TomsTechShow  3 года назад

      Here ya go!
      # CONNECT TO VCENTER
      $vmlist = Get-vm
      $datalist = @()
      foreach ($vm in $vmlist) {
      $datalist+= [PSCustomObject]@{Name=$vm.Name; ToolVersion=$vm.ExtensionData.Guest.ToolsVersion; ToolStatus=$vm.ExtensionData.Guest.ToolsStatus }
      }
      $datalist | Sort-Object ToolVersion | Format-Table

  • @mehransaeed7207
    @mehransaeed7207 2 года назад

    I need to deploy an application forticlient on 120 VMs. how can I do that with PS

  • @kamenrider327
    @kamenrider327 Год назад

    Hi...may i know..how to update using offline installer by script

  • @i.n.dprasadirala3357
    @i.n.dprasadirala3357 3 года назад +1

    Thanks for the Video Need a help from your end that , I need to upgrade the VMtools for more number of VMs through PowerShell without the reboot the server , Can you help me with the script for this activity please ??

    • @TomsTechShow
      @TomsTechShow  3 года назад

      Looks like the only thing you can do is add a switch to the update tools command but it may not always work. From the VMware documentation:
      NoReboot SwitchParameter Indicates that you do not want to reboot the system after updating VMware Tools. This parameter is supported only for Windows operating systems. NoReboot passes the following set of options to the VMware Tools installer on the guest OS:
      /s /v"/qn REBOOT=ReallySuppress"
      However, the virtual machine might still reboot after updating VMware Tools, depending on the currently installed VMware Tools version, the VMware Tools version to which you want to upgrade, and the vCenter Center/ESX versions.

    • @harishvattikuti6176
      @harishvattikuti6176 2 года назад

      @@TomsTechShow how to apply this script to the servers that are only powered on ?

    • @TomsTechShow
      @TomsTechShow  2 года назад +1

      @@harishvattikuti6176 add a loop and select the VM's with this line $PoweredOnVmList= get-vm | Where-Object PowerState -eq PoweredOn