Version 1

    Script to extract WWPN from you vmhba's provided a list of ESX(i) hosts. This script could be re-written to query from a specific ESX(i) host but currently requires host to be connected and managed by vCenter. Useful script if you need to re-zone existing or new hosts



    ESX(i) 3.5 or 4.0

    vCenter 2.5 or 4.0

    vSphere SDK for Perl or vMA 4.0


    Sample Execution:


    Input file which contains the list of ESX(i) hosts that is currently being managed by vCenter

    [vi-admin@scofield ~]$ cat hosts


    Execute script against your vCenter that is managing the list of ESX(i) hosts

    [vi-admin@scofield ~]$ ./ --server --username primp --list hosts
    Enter password:    10:00:00:00:c9:79:c9:84    10:00:00:00:c9:79:c9:85    10:00:00:00:c9:7d:74:e8    10:00:00:00:c9:7d:74:e9