Hi,
Can we find the list of ESX with version no in VCenter server though Power Cli.Please help me with the scriptto pullout the info in CSV format
In my my environment there are 200 ESX host.I need to find out ESX version for all.As some are 3.5,4.0 and 4.1 and ESXi4.1
Thanks
Kumar
I attached a file with all the lines
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I just made a short google search
http://ict-freak.nl/2009/06/09/powercli-get-esx-version-info/
Is this what you need?
regards
Andreas
Hi Andrea,
I appcreciate your help.i will check in office.Thanks for prompt help.
Thanks
Kumar
In the current PowerCLI build you can just do
Get-VMHost | Select Name,Version,Build
And when you also want to see the product, you can do
Get-VMHost | Select Name,@{N="Product";E={$_.Extensiondata.Config.Product.Name}},Version,Build
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
LucD,
Perfectly working.Can this out put exported to CSV format.Please let me know the script.
Thanks
Kumar
Sure, try this
Get-VMHost | Select Name,Version,Build | Export-Csv "C:\report.csv" -NoTypeInformation -UseCulture
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
LucD,
Is it possible to filter Which Host is ESXi and ESX with Name,version no,Build becuase right now (Mixed Env)we are in migration process from ESX to ESXi.
Thanks
Kumar
The 2nd version, the one that also shows the Product property, will show you if it is ESX or ESXi.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Sorry i cant see any reply from you. Its blank.
Can you again reply with script for both the cases.
Thanks
Kumar
I attached a file with all the lines
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
LucD,
Thanks once again.Its perfectly meets my requirement.
Thanks
Kumar