vCollect Storage By Partition for each vCenter

Overview:

Many of projects I work on involve collecting an inventory of basic information about the #Disk_Path per VM in the environment per vCenter.

  1. VMware Code: https://code.vmware.com/samples/5120
  2. 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, #vCollect-Storage-ByPartition-ByvCenter.ps1, will collect Hardware Information from Hosts By #vCenter that includes:

  1. vCenter
  2. Cluster
  3. Host
  4. VM Name
  5. Disk PATH
  6. Capacity(GB)
  7. Free Space(GB)
  8. Free Space %

 

Output:

The information is output to a CSV file per server and 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

  • Saddam  ZEMMALI ----- Initial work ----- My Project

 


Sign in to be able to add comments.

Comments 0