Skip to content
Jaromir Kaspar edited this page Apr 23, 2016 · 25 revisions

Howto

  1. Download scripts and unpack it into empty folder

  2. Right-click 1_Prereq.ps1 and run with PowerShell. Script will prepare folders and download DSC modules necessary for DC hydration.

Tip: You can copy iso file into OS folder and next script will not prompt you for OS media. You can copy tools into ToolsVHD folder and it will be added into tools.vhdx during next step.

  1. After script finishes, right click 2_CreateParentDisks.ps1 and run with PowerShell. It will take ~20 minutes to finish (at least it takes 20 minutes on my ultrabook with fast SSD and defender disabled) as DC is installed in the background.

  2. After script finishes, right click 3_Deploy.ps1 and run with PowerShell. You may need to modify variables.ps1 if you are running this on Windows 10, as it does not support Shared VHDX.

  3. If you don’t like the lab, just right click Cleanup.ps1 and run with PowerShell – it will remove all VMs and vSwitches with lab prefix… Modify Variables.ps1 and you are ready to deploy different lab using 3_Deploy.ps1

Clone this wiki locally