Real World Solutions

Here are some virtual machine management problems you might encounter and their possible solutions.

Replacing Virtual Switches

Challenge

You have been told that some network engineering will be taking place, and you must move every virtual machine that is on a virtual switch called External1 to a different virtual switch called External2. This sounds simple until you find that there are more than 400 virtual machines connected to External1 on the host that you manage. How will you complete this task as quickly as possible?

Solution

A common problem is the need to make a simple change—but to lots of virtual machines. Using the GUI is out of the question because it is too slow. This is where PowerShell can prove its value. ...

Get Windows Server 2012 Hyper-V Installation and Configuration Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.