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

How to List networking information for an ESXi host using virtual distributed switches with PowerCLI

$
0
0

I would like to list the following informatoin for an individual ESXi host using virtual distributed switches with power cli.  Here is what I'm wanting to see:

 

1.  Name of distrubted virtual switch

    Undereath the vDS name, list each vmk as follows:

    -vmkernel port name (vmk0), vmkernel port IP, vmkernel port subnet mask, vmkernel port default gateway, and whether it is checked off as enabled for vmotion or management

 

-Loop to list the same information for the second vDS if there is a second vDS attached.

 

 

Is this possible using PowerCLI, or if not a combination of PowerCLI and ESXcli?

 

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>