Categories
Home-Server

Creating VM environment with PowerShell

To put the Server to good use i will use it to create a VM Test Environment via script. What the script does is to create a copy of the existing VMs (their VHDs) with a prefix and attach them to a private network. With this approach it is easy to test software updates etc.

The script takes two parameters: The prefix of the new environment and the location of the template VMs.