Quickly find WWN of a HBA on Server 2012
While doing work on Fiber Channel fabric I ran into the need to find the wwn of an HBA installed in my server. Here is the quickest way to find that info:
Run this PowerShell cmdlet:
Get-InitiatorPort
Oh, remember to run PS as administrator, otherwise you will get PermissionDenied!