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

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Virtual Machine Manager, Windows Powershell, Windows Server | No Comment | 9,381 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.