$domain = 'example.com' $netbiosDomain = 'EXAMPLE' $safeModeAdminstratorPassword = ConvertTo-SecureString 'HeyH0Password' -AsPlainText -Force echo 'Installing the AD services and administration tools...' Install-WindowsFeature AD-Domain-Services,RSAT-AD-AdminCenter,RSAT-ADDS-Tools echo 'Installing the AD forest (be patient, this will take more than 30m to install)...' Import-Module ADDSDeployment Install-ADDSForest ` -InstallDns ` -CreateDnsDelegation:$false ` -ForestMode 'Win2012R2' ` -DomainMode 'Win2012R2' ` -DomainName $domain ` -DomainNetbiosName $netbiosDomain ` -SafeModeAdministratorPassword $safeModeAdminstratorPassword ` -NoRebootOnCompletion ` -Force
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 25763 | Jen Bottom | Copy up work on LDAP setup from dev to main | ||
#1 | 25623 | Jen Bottom | Have moved the AD stuff in to the 'ldap' directory | ||
//guest/jen_bottom/vagrant/active_directory/windows-domain-controller-vagrant/provision/domain-controller.ps1 | |||||
#2 | 25621 | Jen Bottom | Integrating sone fixes from dev to main | ||
#1 | 23849 | Jen Bottom |
Integrating an AD setup from dev to main. This is based on a Vagrant setup that is available on GitHub |