c3b2cd6dc0 | ||
---|---|---|
.. | ||
CreateADPDC.ps1.zip | ||
Readme.md | ||
adVmTemplate.json | ||
azuredeploy.azurestack.parameters.json | ||
azuredeploy.json | ||
azuredeploy.parameters.json | ||
deployPrimaryAD.json | ||
nic.json | ||
vnet-with-dns-server.json |
Readme.md
Create a AD domain controller server non-HA with PowerShell DSC Extension
This template will create a AD domain controller Server using the PowerShell DSC Extension; it creates the following resources:
- A Virtual Network
- One Storage Account
- One external load balancer
- One VM configured as Domain Controller for a new forest with a single domain
The external load balancer creates an RDP NAT rule to allow connectivity to the AD VM created.
Notes
-
The images used to create this deployment are
- AD - Latest Windows Server 2012 R2 Image
-
The image configuration is defined in variables - details below - but the scripts that configure this deployment have only been tested with version mentioned above and may not work on other images.
Deploying from PowerShell
For details on how to install and configure Azure Powershell see [here].(https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/)
Launch a PowerShell console
Change working folder to the folder containing this template
```PowerShell
New-AzurermResourceGroupDeployment -Name "<new resourcegroup name>" -Location "<new resourcegroup location>" -TemplateParameterFile .\azuredeploy.azurestack.parameters.json -TemplateFile .\azuredeploy.json