Sample Exchange

 View Only

vCollect Storage By Partition for each vCenter 

Dec 22, 2018 02:33 PM

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

 


#Storage
#VMwarePowerCLI
#vSphere
#vmware-collect
#vSphere
#PowerShell
#vCollect
#Apache2.0
#vmware

Statistics
0 Favorited
1 Views
1 Files
0 Shares
1 Downloads
Attachment(s)
ps1 file
vCollect-Storage-ByPartition-ByvCenter.ps1   11 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Related Entries and Links

No Related Resource entered.