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

Advertisment to support michlstechblog.info

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.