#Project Description Deployment Automation of Windows Server 2016 labs on WS2016/Windows10 Hyper-V
Simply deploy your lab just with these scripts and ISO file.
This solution is used in Microsoft Premier Workshop for Software Defined Storage.
#Changelog
<<<<<<< HEAD <<<<<<< HEAD
- 1.5.2016 - Added win2012R2 support, optimized answer files ======= =======
- 17.5.2016 - Added SCVMM automation - if you specify labconfig parameter to install SCVMM and put all install files into toolsVHD folder, SCVMM will be automatically installed during 2_CreateParentDisks
- 15.5.2016 - Simplified variables.ps1, SCVMM install scripts added
Microsoft/master
- 3.5.2016 - Scripts will exit if prefix is empty. Also will exit if iso was not selected in prompt.
- 1.5.2016 - Added win2012R2 support, optimized answer files, moved dism to tools, all scripts use dism from tools (copied from iso)
tollilf/master
#Usage (more info in wiki )
Download scripts and Windows Server 2016 TP5
Note: please download Cumulative Update for Windows Server 2016 Technical Preview 5 KB3157663 and add it to OSServer\Packages after 1_Prereq.ps1
Unzip scripts in some folder
Right-click and run with PowerShell. (1_Prereq.ps1 -> 2_CreateParentDisks.ps1 -> 3_Deploy.ps1 -> Cleanup.ps1 (if needed) -> modify variables.ps1 -> 3_Deploy.ps1 again)
You will be prompted for Windows Server 2016 ISO (TP5 and newer only) when running 2_CreateParentDisks.ps1.
You can create multiple scenarios if you modify variables.ps1 - Simple, S2D works on Windows 10 Replica, Shared requires Failover Clustering (svhdx filter driver)
#What's in the lab
Automatically hydrated Domain Controller with DHCP and one scope. There are several accounts automatically provisioned - SQL Run As Account, SQL Agent Account, VMM Service Account and one additional Domain Admin with name you can specify, so you can install SQL + SC VMM easily.
You can then modify variables.ps1 to hydrate whatever you want. Like this 4 node nano s2d cluster with 200TB capacity - all running on ultrabook.
#So what is it good for?
Simulations such as
- how to script against nano servers
- how to automate configuration
- what will happen when I run this and that command
- how change drive in S2D cluster
- what will happen when one node goes down
- testing new features before pushing to production
- ...