getVMMoRefID.pl

Version 1

    This script retrieves all VMs MoRef ID, also known as vmid

     

    You can download the script here

     

    [vi-admin@scofield ~]$ ./getVMMoRefID.pl --server esxi4-1.primp-industries.com --username root
    Virtual Machine: VA-Tomcat
    VMID: 48
    
    Virtual Machine: vMA
    VMID: 80