Monthly Archive: November 2015

Nov 13 2015

Using Set-VMNetworkAdapterVlan with clustered VMs

I recently needed to assign VLANs to a group of virtual machines on a Hyper-V cluster, tried to use the Set-VMNetworkAdapterVlan¬† cmdlet directly only to find that it needs the current host of each VM to work, so here’s a small script to get it done. The script select only VMs where no VLAN is …

Continue reading »

Permanent link to this article: http://almoselhy.azurewebsites.net/2015/11/using-set-vmnetworkadaptervlan-with-clustered-vms/