Quantcast
Channel: VMware Communities : Popular Discussions - vCloud Director PowerCLI
Viewing all articles
Browse latest Browse all 13334

vCD - Get VM quantity of each Organization

$
0
0

Hi all,

I need to export a nice, simple report, with two columns:

Organization Name | Number of VMs

 

I need all the VMs in each Org (both running and not running).

 

I know there's a function getting this number, but I do not know how to put it in a script so I can get it for each (guess we can use this loop, right?) organization in the vcd...

 

(Get-Org ORG_NAME | Get-CIVM).count

 

Thanks for the help!

 

Martin.


Viewing all articles
Browse latest Browse all 13334

Trending Articles



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