I have never written a powershell script before, but from what I understand, this will be the best way to collect the info that I need.
We need to start pulling reports to collect the following info on all the VMs in our vmware environment, and export it to a CSV file:
VM Name, DataStore Location, Provisioned Space (in GBs, but without the letters "GB" in the report), Power State, Primary Contact, and Classification (this is a custom attribute that we have created for specifying Prod/Test/Dev/ect).
I would really appreciate any help with getting a script to pull this info!
Thanks in advance!