VMware

listVMsInResourcePool.pl

VERSION 1 Published

Created on: Sep 24, 2009 9:35 AM by lamw - Last Modified:  Sep 24, 2009 9:38 AM by lamw

Script to query VM(s) in a specific Resource Pool, this will work if the Resource Pool is nested.

Requirements:
vCenter 2.5 or 4.0
vSphere SDK for Perl or vMA 4.0

Sample Execution:

./listVMsInResourcePool.pl --server reflex.primp-industries.com --username primp --resource_pool production

vm-1
vm-2
vm-3
vm-4
Attachments:
Average User Rating
(0 ratings)




Comments

There are no comments on this document

 

Developer Social Media

Communities