Sure, try something like this
foreach($dcinGet-Datacenter){
foreach($clusterinGet-Cluster-Location$dc){
foreach($esxinGet-VMHost-Location$cluster){
Get-VMHostHba-VMHost$esx-TypeFibreChannel|
Select@{N="DC";E={$dc.Name}},@{N="Cluster";E={$cluster.Name}},
@{N="Host";E={$esx.Name}},Name,
@{N="HBA Node WWN";E={"{0:x}"-f$_.NodeWorldWideName}},
@{N="HBA Port WWN";E={"{0:x}"-f$_.PortWorldWideName}}
}
}
}