search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
How to get VLAN IDs of Virtual Machines on SCVMM via PowerShell
Posted in Virtual Machine Manager, Windows Powershell, Windows Server | No Comment | 9,368 views | 15/11/2013 16:56

You can get list of virtual machines and vlan ids via PowerShell with following command:

1
Get-VM | Select Name,@{label="VlanID";expression={($_.VirtualNetworkAdapters).VlanID}}

I used SCVMM 2012 SP1. Not sure about other versions.



Leave a Reply