Ask The Experts

Looking for help with a ESXi PowerCLI command to find HBA info

Stan-J
1,475 Views

 

I am testing with PowerCLI to verify some information for developing some possible scripts for accessing a Fiber SAN.

 

I was hoping that someone with an ESXi connection to Fiber HBA can execute the  below PowerCLI command and post the output.

 

thanks

 

 

Get-VMhost | Get-VMHostHBA -Type FibreChannel | Select VMHost,Device,@{N="WWN";E={"{0:X}" -f $_.PortWorldWideName}}

1 ACCEPTED SOLUTION

donny_lang
1,394 Views
VMHost                 Device WWN
------                 ------ ---
lab-host1              vmhba2 2000xxxxxxxxxxxx
lab-host1              vmhba3 2000xxxxxxxxxxxx
lab-host2              vmhba2 2000xxxxxxxxxxxx
lab-host2              vmhba3 2000xxxxxxxxxxxx

View solution in original post

1 REPLY 1

donny_lang
1,395 Views
VMHost                 Device WWN
------                 ------ ---
lab-host1              vmhba2 2000xxxxxxxxxxxx
lab-host1              vmhba3 2000xxxxxxxxxxxx
lab-host2              vmhba2 2000xxxxxxxxxxxx
lab-host2              vmhba3 2000xxxxxxxxxxxx
Public