Hi
Below Script will get All HBA’s WWN details
Get-Cluster ClusterName | Get-VMhost | Get-VMHostHBA -Type “FibreChannel” | Select VMHost,Device,@{N=”WWN”;E={“{0:X}” -f $_.PortWorldWideName}} | Sort VMhost,Device
ClusterName====> Your VMware Cluster Name