Windows: List WWNs of all Fibre Channel HBAs

Hi,

the following powershell one liner lists all WWNs of all attached Fibre Channel HBAs.

Get-WmiObject -class MSFC_FCAdapterHBAAttributes -namespace "root\WMI" | %{[String]::Join(":",(($_.NodeWWN) | %{"{0:x2}" -f $_}))}

Michael

Leave a Reply