How To Find WWN On Windows 2012 R2

0

How To Find WWN on Windows 2012 R2

Objective : Finding wwn on Windows 2012 R2 using PowerShell.

Solution: Following command will fetch the WWN on HBA Adapters available on your server.

Get-WmiObject -class MSFC_FCAdapterHBAAttributes -namespace “root\WMI” | ForEach-Object {(($_.NodeWWN) | ForEach-Object {“{0:x}” -f $_}) -join “:”}

WWN on Windows 2012 R2

Method 2: You can get the same results by issuing a simple command

                  Get-InitiatorPort

Get-InitiatorPort

Leave A Reply

Your email address will not be published.