I am trying to write a script that will get a list of all datastore and for each datastore list the freespace. Most of the stuff I have found is on powershell. I am using Linux not MS. Is there any direct reference to the vcenter? I would be writing my script in Python, but I would like to validate my script directly against the vcenter. So if I ssh into the vcenter what commands would use to get my info?
Is there anything I need to install on my Linux box?
I am running vCenter 6.5
thanks,
Moderator: Thread moved to the PowerCLI area, I believe you can run PowerCLI on Linux
This thread may hold what you need: https://communities.vmware.com/thread/632798