Quantcast
Channel: VMware Communities : Popular Discussions - vCenter™ Server
Viewing all articles
Browse latest Browse all 18256

How to gather as much information as possible via script from my vsphere cluster?

$
0
0

Hello Folks.

 

We run several vSphere cluster. Each with it's own vCenter Server. I asked myself if there is a possibility to get those information I could see in vSphere Client via a scripting API.

 

For example I like to gather information about how many VMs running on each Host in a cluster, how many datastores are attatched and which VM is running on which Host. I like to use a script to gather this information and export them in a TXT-, XML-, HTML-File or whatsoever.

 

Could someone give me a hint how to start? Where could I found information to solve such a task by using the PowerCLI or any Script in Perl, Python or so on? Do you know any good tutorials on this topic?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 18256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>