Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168400

Re: Reporting Default gateway

$
0
0

Try something like this

 

$esxi=Get-VMHost-Name$name
$esxi|Select-Object@{N="ESXi";E={$_.Name}},
   
@{N="CPU";E={$_.ExtensionData.Summary.Hardware.CpuModel}},
   
@{N="Gateway";E={$_.ExtensionData.Config.Network.IpRouteConfig.defaultGateway}}
   

Viewing all articles
Browse latest Browse all 168400

Trending Articles