Hey Guys,
Does anyone have a script that would take all the hosts in vCenter and output each host name and current ESX version number to an excel file?
Thanks.
Try the following:
Get-VMHost | Select Name,Version,Build | Export-CSV C:\HostInfo.csv -NoTypeInformation
-
PowerCLI development team
Try the following:
Get-VMHost | Select Name,Version,Build | Export-CSV C:\HostInfo.csv -NoTypeInformation
-
PowerCLI development team