Powershell script to create Hyper-V Virtual Machines in bulk


8/14/2014:

This script has been deprecated.  It has been re-written and made part of the SBTools PS Module available here.

Sample script output:

vm07

This script can be used to create Hyper-V virtual machines in bulk. This may be useful in testing, benchmarking, or lab environments.

CVM1

This script can be downloaded from the Microsoft TechNet Gallery.


Revisions:

1.0 – 06/30/2014 – Script leaves log file in the folder where it runs
1.1 – 07/07/2014 – Added CSV log file showing disk copy duration and throughput
1.2 – 07/13/2014 – Added HRBytes function, minor cosmetic tweaks

 

Advertisements

3 responses

  1. Pingback: Powershell script to create Hyper-V Virtual Machines in bulk (2) | Sam's Corner

  2. Pingback: Using Powershell to create 64 Hyper-V Virtual Machines on Gridstore array | Sam's Corner

  3. Pingback: Using Powershell to create 64 Hyper-V Virtual Machines in parallel on Gridstore array | Sam's Corner

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s