I am attempting to use PowerCLI to determine if EMC PowerPath is installed on a particular ESX 4.1 host. Using the service console, the equivalent command is "esxcfg-mpath --list-plugins". I cannot figure out a way to do this with PowerCLI. I've combed through objects returned by get-esxcli, examined scsiLun objects, and a number of other things. I can't figure out for the life of me how to use PowerCLI to get this information. Any advice?
Did you already try
$esxcli.storage.core.plugin.list()
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
That was close! Using that as a basis I was able to figure it out. I think the storage.core syntax is for ESX 5... on ESX 4.1, the following did it:
$esxcli.corestorage.plugin.list()
Returns objects with Pluginclass and Pluginname properties. THANK YOU! I have been pulling my hair out over this for hours.