PowerCLI: VMware List VM’s per Datastore vs CanonicalName. — via Provirtualzone
PowerCLI: VMware List VM’s per Datastore vs…
This week I need to create a script to list all VMs. This particular script needed to list all VMs that are inside in some particularly iSCSI LUNs. Since VMware environment could have iSCSI, NFS and also Local Disks, so we need to do the search by CanonicalName. In this case iSCSI LUN CanonicalName.