The solutions are:
1. Use MS Utility "Fcinfo.exe" (Fibre Channel information Tool (fcinfo)) to view the WWN number of the HBA card.
The Fcinfo tool is installed on a Windows system that needs to view the WWN number, and then, in the Start menu, type "CMD" in "Run" and enter command-line mode, and you can see the WWN number of the host HBA by entering Fcinfo.
2, after searching, find article finds HBA and WWN information on Windows using WMI, which describes how to view the WWN of the HBA card on the host through PowerShell.
650) this.width=650; "title=" image "border=" 0 "alt=" image "src=" http://images.cnitblog.com/blog/34420/201401/ 221515101948.png "width=" 608 "height=" 296 "style=" border:0px;padding-left:0px;padding-right:0px;padding-top:0px; Background-image:none; "/>
Note the Import-module command here, which allows us to invoke a function in a PowerShell script file.
3, there is a command also very good
Get-initiatorport
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/86/F6/wKiom1fPykazDDlbAAQC6bNsHHs326.jpg-wh_500x0-wm_3 -wmp_4-s_4216225476.jpg "title=" Windows check WWN fiber card number. jpg "alt=" wkiom1fpykazddlbaaqc6bnshhs326.jpg-wh_50 "/>
This article is from the "Hollows Jie Sun" blog, be sure to keep this source http://xjsunjie.blog.51cto.com/999372/1847343
How to check the WWN of the fiber card HBA on the Windows2012