Hi all,
This is my first post on here so please be gentle with me, I am relatively new to Powershell and PowerCLI for VMWare and have delved into attempting to use 'get-esxcli -vmhost v2' against a list of hosts to retrieve the hba adapter details, specifically vmhba driver detail in order to investigate a san connectivity issue.
Once connected, I then drill into this content as follows to retrieve the fc detail I am after, $host.storage.san.fc.list.invoke()
This works fine for newer Synergy 480 Gen10 hardware but for older kit such as a ProLiant BL460c Gen9, It does not list the adapter driver details.
Does anyone know what I am either doing wrong or what I can do to retrieve the details I am after using PowerCLI, I have found other scripts which use ssh via plink and stop/start the ssh service per ESXi host but I find this a bit clunky and unsecure.
Many thanks in advance.