vCollect Project: Gathering ESXi Hardware Information per vCenetr

Overview:

Many of the customer projects I work on involve collecting an inventory of basic information about the hashtag#VMware hashtag#ESXi in the environment, such as CPU/memory specs, OS versions, Power State, and so on.
VMware Code: https://code.vmware.com/samples/5175
GitHub Repository: https://github.com/szemmali/vmware-collect

Description:

To make this inventory process less time consuming I began using #PowerShell scripts to collect the information I was interested. Over time these scripts got less messy and more useful, so now I want to share my current script.

This PowerShell script, hashtag#vCollect-VMHostInfoHwSummary.ps1, will collect Hardware Information from Hosts By hashtag#vCenter that includes:

  • vCenter
  • Cluster
  • Name
  • Version
  • Hardware Vendor
  • Hardware Model
  • Serial Number
  • BIOS Version
  • BIOS Release Date
  • Build
  • Max EVC Mode
  • Num CPU
  • CPU Model
  • CPU Core Count Total
  • Memory Usage (GB)
  • Memory Total (GB)
  • Connection State
  • Power State

Output:

The information is output to a CSV file per server and XLXS/CSV file for all vCenter.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Authors