Last active
February 4, 2021 20:38
-
-
Save peasead/12611e6dadddc89f55ce270ce6f7a85c to your computer and use it in GitHub Desktop.
Deploy Windows 2019 Active Directory and DNS services
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.virtualgyanis.com/post/step-by-step-how-to-install-and-configure-domain-controller-on-windows-server-2019 | |
Import-Module ADDSDeployment | |
Install-ADDSForest ` | |
-CreateDnsDelegation:$false ` | |
-DatabasePath "C:\Windows\NTDS" ` | |
-DomainMode "WinThreshold" ` | |
-DomainName "huntops.blue" ` | |
-DomainNetbiosName "HUNTOPS" ` | |
-ForestMode "WinThreshold" ` | |
-InstallDns:$true ` | |
-LogPath "C:\Windows\NTDS" ` | |
-NoRebootOnCompletion:$false ` | |
-SysvolPath "C:\Windows\SYSVOL" ` | |
-Force:$true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment