Following my previous network information script I was asked to add the VSwitch, so here it is...
The following script will add some nice host network information into an object which is exported to a csv file for passing to the network guys or can be used to find your server in that mess of cables that are always meaning to be tidied in the data center.
You will get:
The following script will add some nice host network information into an object which is exported to a csv file for passing to the network guys or can be used to find your server in that mess of cables that are always meaning to be tidied in the data center.
You will get:
- Host
- VSwitch
- VSwitch Ports (Added for @gabvirtualworld)
- VSwitch Ports in use (Added for @gabvirtualworld)
- Physical Nic Name
- Speed
- MAC
- Switch Device ID
- Port ID
- Observed Network ranges
- VLAN's
Sample output: