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

Time limit is exhausted. Please reload CAPTCHA.

Original Theme by Schiy · Powered by WordPress