VMware

queryVMCustomField.pl

VERSION 3 Published

Created on: Jun 18, 2009 7:14 PM by lamw - Last Modified:  Jun 18, 2009 7:17 PM by lamw

Originally syndicated from: Re: viPerl: List specific custom attributes for specific VM

Query custom fields defined for a virtual machine.

Note: This is only available when querying against vCenter, this will not work for individual ESX(i) host

Sample execution:

[vi-admin@tancredi ~]$ ./queryVMCustomField.pl --server reflex2.primp-industries.com --username primp --customfield SLA --vmname William-XP
Enter password:
Virtual Machine: William-XP
   SLA = 30min
Attachments:
Average User Rating
(0 ratings)




Comments

There are no comments on this document

 

Developer Social Media

Communities