VMware

John Tuffin's Blog

John Tuffin's Personal Log about E-Learning Course Development

Previous Next
0

I found this example in the VMworld Europe presentation (excellent by the way) that would allow you to move a Virtual Machine from one virtual switch to another.

get-vm vm1 | set-networkadapter "Production"

Now say you wanted to move all vm's from the "VM Network" to "Production"

get-vm | where { ($_ | get-networkadapter).NetworkName -eq"VM Network} | set-networkadapter -networkname "Production"

This would move all VM's from the VM Network to Production.




There are no comments on this post

Click to view cpqarray's profile Member since: Nov 24, 2005

John Tuffin's Personal Log about E-Learning Course Development

View cpqarray's profile

Communities