If you get all the ESXi nodes for all vCenters, you can include the vCenter.
Connect-VIServer = "vCenter1","vCenter2","vCenter3","vCenter4"
Get-VMHost |
Get-VMHostFirewallException |
Where-Object {$_.Enabled -and $_.ExtensionData.AllowedHosts.AllIP} |
Select @{N='vCenter';E={([uri]$_.VMHost.ExtensionData.Client.ServiceUrl).Host}},
@{N='VMHost';E={$_.VMHost.Name}},
Name, Protocols, IncomingPorts, OutgoingPorts, ServiceRunning
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference