Share via


Find the WWN for my HBA Fiber card connectors

Question

Saturday, February 8, 2014 1:29 AM

Windows 2erver 2012 (no r2)

nothing installed, install straight off the dvd.

A...MAZING!

Forgive my curt attitude, I am very frustrated after searching for the last 4 hours for a way to do this, please help.

All I need is the WWN of my fiber ports (Qlogic-cant even find the model number in OS, but the driver is 9.1.11.23 and ok) .

  • fcinfo - cant be installed on 2012
  • storage explorer - depercated
  • MSFC_FCAdapterHBAAttributes  - Invalid class

Someone PLEASE explain to me WHY Microsoft would take something as simple as getting some HBA info, and take away that functionality?!?!  There must be some genius business reason behind this?

Is it so hard to put a line in the properties window?!

BlankMonkey

All replies (4)

Tuesday, February 11, 2014 1:20 AM ✅Answered

All,

As for me, I had to download the specific driver, and then the tool for QLogic to get the WWN.

Still would like an answer, but, this is my fix :(

BlankMonkey


Tuesday, February 11, 2014 6:03 AM ✅Answered | 3 votes

Hi,

I did some research, some HBAs have the information written on the cards themselves, and WWNs of HBAs should available in BIOS or the controller setup during pre-boot on servers that have them installed. How to view it depends on the manufacturer.

Apart from this, you may use the PowerShell command, Get-WmiObject to retrieved the information in Windows Server 2012.

For example:

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

If you need assistance with PowerShell, this forum could help you.

http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverpowershell

Hope this helps.

Jeremy Wu

TechNet Community Support


Tuesday, June 30, 2015 6:51 PM

The MSFC_FCAdapterHBAAttributes is not available in windows 2012

gwmi -list -namespace root\wmi | Sort-Object Name


Wednesday, September 4, 2019 7:39 AM

WWN can be obtained with a single powershell command

Get-InitiatorPort | ft