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.

3) 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.

4) 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.

5) 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

 

1_Prereq.ps1

capture20160219151844228

capture20160219205624537

capture20160219203334254

capture20160219204306877

2_CreateParentDisks.ps1

capture20160219205951108

image

capture20160219220607037

capture20160220175057757

capture20160220180438347

capture20160220180645580

3_Deploy.ps1

capture20160220183325184

capture20160220182353610

capture20160220182456268

capture20160220182944754_2

Cleanup.ps1

capture20160220182802408

capture20160220183019101

capture20160220183154252

 

 

….

Last edited Feb 29, 2016 at 12:39 PM by kaspik, version 13