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}}
Thank you , It helped me.
Thank you, it helped me as well.
Perfect. Thanks.
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
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.
Nice, Thanks !