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

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 189307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>