UCS PowerTool quick tip: Get-UcsServerVlan

Powershell

Here’s a quick function to give you server (service profile) name and map it to NIC and VLAN using the Cisco UCS PowerTool:

The code: http://poshcode.org/3391

The output might look something like this:

Server          Vnic Vlan
------          ---- ----
bd-esx-01       eth0 BD-Net-01
bd-esx-01       eth1 BD-Net-01
bd-esx-01       eth2 Storage-NET
bd-esx-01       eth3 PVS-Net
bd-esx-02       eth0 BD-Net-01
bd-esx-02       eth1 BD-Net-01
bd-esx-02       eth2 Storage-NET
bd-esx-02       eth3 PVS-Net

Leave a Reply

Your email address will not be published.