PowerCLI – ESXi host versions and build numbers

I’m currently in the process of upgrading a number of hosts in an environment. I needed to see the status of the host upgrading and patching process. Below is an easy way to get a list of ESXi host versions and build numbers via Powershell/PowerCLI.


Get-View -ViewType HostSystem -Property Name,Config.Product | Format-Table Name, @{L='Host Version & Build Version';E={$_.Config.Product.FullName}}

BuildName1

 

 

 

6 Comments

  1. Mohamed Aboelazm said:

    Thank you , It helped me.

    11/05/2018
    Reply
  2. Frank S. said:

    Thank you, it helped me as well.

    11/06/2018
    Reply
  3. MV said:

    thanks. But, I’m looking for a list of hosts only, not for the entire vCenter hosts information. Basically my requirement is, take the ESX hosts information from a input file. TIA

    24/04/2019
    Reply
    • Christian Parker said:

      You can create a script that uses something like:

      $HostList = Get-Content C:\temp\inputFile.txt

      ..and then create a foreach loop to go through file to output hosts you want.

      24/04/2019
      Reply
  4. Andy said:

    Nice, Thanks !

    18/05/2021
    Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.