Wednesday, August 28, 2013

How to get WWN info on Hyper-V and Powershell

So you need to get the WWN numbers on your server (Windows Server 2012).


  • Open up a powershell with administrator privileges( Right click on powershell icon and choose "Run As administrator".

  • Run this command which will give you the WWN numbers :
                    Get-InitiatorPort


PS C:\Windows\system32> Get-InitiatorPort

InstanceName                  NodeAddress                   PortAddress                   ConnectionType
------------                  -----------                   -----------                   --------------
PCI\VEN_1657&DEV_0022&SUBS... 20008c7cff0d7d00              10008c7cff0d7d00              Fibre Channel
PCI\VEN_1657&DEV_0022&SUBS... 20008c7cff0d7d01              10008c7cff0d7d01              Fibre Channel







There you go.



1 comment: