Friday, December 19, 2014

Retrieve WWN’s on WIndows Server 2012 R2 using PowerShell

Retrieve WWN’s on WIndows Server 2012 R2 using PowerShell.


With a single command you can retrieve WWN’s on WIndows Server 2012 R2 using PowerShell.

Open the PowerShell command and type:

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

No comments:

Post a Comment