Archive for May 2012

Playing around with VM´s on Laptop and Virtual switches   Leave a comment

I have a lot of VMs on my laptop, and i need to change the switch on these machines sometimes, since I’m moving around i need to be able to change the switch that they are connected to. This is time consuming and not to mention booooring so lets look @ powershell and how this can help me.

Get-VMNetworkAdapter -VMName * | Connect-VMNetworkAdapter -SwitchName External

Problem solved, the first part is get all network connectors from * and pipe/connect it to my virtual switch named External



Posted May 6, 2012 by jorgen brandelius in Uncategorized