Hello,
I check this discussion
I use this one:
$cluster = get-cluster
$hosti = get-Cluster $cluster | Get-VMHost
$report333 = @()
foreach ($esxi in $hosti) {
$report333 +=Get-VMHosthba -VMHost $esxi -type FibreChannel |
Select @{N="Host";E={$esxi.Name}},
@{N="HBA Node WWN";E={"{0:x}" -f $_.NodeWorldWideName}},
@{N="HBA Port WWP";E={"{0:x}" -f $_.PortWorldWideName}}
}
$report333 | Export-csv -Path C:\Users\gemela\Desktop\WWNTECO.csv –NoTypeInformation
And I get this format: "200024827aaf84f2","1000289et53f84f2"
Is possible to get format like: 20:00:28:22:4a:af:84:f3 10:10:28:02:4a:af:84:f2
Thanks