Windows : How to retrieve Fiber Channel interface WWNs
Here is a simple PowerShell command that will output the FC host adapter interface WWNs. Get-WmiObject -class MSFC_FCAdapterHBAAttributes -namespace “root\WMI” | ForEach-Object {(($_.NodeWWN) | ForEach-Object {“{0:x}” -f $_}) -join “:”} If your interface have two ports, both will be output in order. This command have been successfully tested with QLogic adapters on Windows 2012 and… Read More »