These two scripts are both designed for enumeration of objects. The cluster specific script will also enumerate HA properties about that cluster.
Usage:
listdcs.pl --server lewvc --username <username> --password <password>
listdcclusters.pl --server lewvc --username <username> --password <password> --datacenter <DC Name>