Getting a WWN from a Fiber Channel card

The below command can be used starting from server 2012 and up and it will list the WWN of a storage controller.

Server 2012 or higher

PortAddress is the WWN on this dual port FC adapter
PS C:\Get-InitiatorPort

Server 2008 or older

On older versions of Windows you can install fcinfo from Microsoft. Before going this route I would first open up MMC > Add Storage snap-in and see if you an get the WWN details from there or you can

FCinfo download link
https://www.microsoft.com/en-us/download/details.aspx?id=17530

This entry was posted in Scripting. Bookmark the permalink.

Leave a Reply

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