PowerShellDSC Scripts to setup a small lab environment for testing puposes. The scripts set the ip information, time zone, and rename the machine while adding it to the domain, with the exception of the DC since there is no Domain yet. Next they install their application. Once they are finished you are good to go with testing.
First create the Domain Controller
Next create the SQL server
Finally create the first SharePoint server in the farm and add more SharePoint server to the farm if you want.
You will need the following PowerShell DSC Modules:
ActiveDirectoryDsc
https://github.com/dsccommunity/ActiveDirectoryDsc
ComputerManagementDsc
https://github.com/dsccommunity/ComputerManagementDsc
NetworkingDsc
https://github.com/dsccommunity/NetworkingDsc
SharePointDsc
https://github.com/dsccommunity/SharePointDsc
SqlServerDsc
https://github.com/dsccommunity/SqlServerDsc
xDnsServer
https://github.com/dsccommunity/xDnsServer
You will need a virtual machine image that is just Windows OS with the latest patches/updates for each role.
You will need to the extracted ISO files for SQL and SharePoint in a share on the Domain Controller. Yes I know you are not supposed to use your Domain Controller as a file share but this project is for setting a very small lab for testing only.
You will also need all the prerequisites for SharePoint in a share on the Domain Controller as well.
You will need to copy the above PowerShell DSC modules in the C:\Program Files\WindowsPowerShell\Modules before you run the scripts.
Yes you will need to run Set-ExecutionPolicy -ExecutionPolicy Unrestricted before you run the scripts.
If you have questions please ask or open an issue.