Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 176483

Reporting Default gateway

$
0
0

I would like to report the default gateway of a host.  Currently my script is:

 

$esxi = Get-VMHost -Name $name | Get-View

$esxi | Select-Object @{N="ESXi";E={$_.Name}},@{N="CPU";E={$_.Summary.Hardware.CpuModel}}

 

How can I add a third property of the default gateway to the output of this?

 

Thanks!



Viewing all articles
Browse latest Browse all 176483

Trending Articles



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