G-regL
6/13/2017 - 2:26 PM

SNIP | VMware - Host - Get HBA WWN's

SNIP | VMware - Host - Get HBA WWN's

get-cluster <ClusterName> |get-VMhost |Get-VMHostHBA -Type FibreChannel |select VMHost,Name,Model,Speed,@{N="NodeWorldWideName";E={($_.NodeWorldWideName.ToString("X") -split '(..)' | ? {$_}) -join ":"}},@{N="PortWorldWideName";E={($_.PortWorldWideName.ToString("X") -split '(..)' | ? {$_}) -join ":"}} |ft -auto