Hello
I'm looking for a script that can allow me to get all the below details from differentes hosts managed by differentes vCenter
Firmware
Drivers
ESXi version
installed VIB
Patches
Any idea? help?
you are the best
I'm trying also to add Release Name to my script is that Possible?
Yes, something like this
@{N = 'vCenter Product'; E = { $esx.ExtensionData.Client.ServiceContent.About.Name } },
@{N = 'vCenter Version'; E = { $esx.ExtensionData.Client.ServiceContent.About.Version } },
@{N = 'vCenter Build'; E = { $esx.ExtensionData.Client.ServiceContent.About.Build } },
@{N = 'VMHost'; E = { $esx.Name } },
@{N = 'VMHost Product'; E = { $esx.ExtensionData.Config.Product.Name } },
@{N = 'VMHost Version'; E = { $esx.Version } },
@{N = 'VMHost Build'; E = { $esx.Build } },
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
thx but not able to retrieve the Relase name for example ESXi 6.0 Update 2
No, not directly.
That is a known issue since years.
There is no API or official resource where the link between build and Release Name is available.
There is 1 external file that I know of that has this information.
See ESXi Version Information now available as JSON
The drawback, you need an Internet connection, at least once to get to that JSON file.
Btw, this thread keeps going on.
I propose to close this thread, and if you have additional questions/requirements open a new thread, with a link to this thread.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Oh yep yep sure
thank you for your assistance
LucD,
After running the script, i didnt see any output. Am i missing something ?
Thanks
V
The result is written to an XLSX file, see $fileName
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Lucd,
I can see the report.xls.
Thanks
V
Hey LucD,
Please, would you mind if I asked you to share the complete script? The bits and pieces are scattered across 4 pages.:smileyconfused: and I'm little bit skeptical about what's working and what's not, although I'll install the excel modules as you described, if not already done.
Sorry to have jumped in this conversation.
Can you start from this version Re: Get All information regarding ESXi Firmware Driver installed VIB
And say what you are missing?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Although there were errors, the script did run and generate the report I wanted.
Looks like the $esx variable points to a node that is in a 'funny' state.
Do you have any ghost ESXi nodes in one of your vCenters?
Does Get-VMHost return valid data for all ESXi nodes?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Yes, there is. An ESXi host based on VMware Mobility Platform is part of this vCenter for a testing purpose.
Get-VMHost does produce this list with the "VMware Mobility Platform" (top 1)
Ok, then that probably explains the error message
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference