I am trying to create a script to extract the controller configuration info for an esx host.
to run if SSH'd onto the Host i would type the following ...
# esxcli ssacli cmd -q "controller slot=0 show config detail"
When trying to run in a script using powercli, i have got as far as creating a variable for the esxcli commands to be run against a host .. so for example i can run the following command and it will work ...
# $esxcli.network.nic.list.Invoke() ......... and it will return a list of all the NIC's installed int he Host
Can anyone advise the syntax to use to be able to query the storage controller via powercli ?