Skip to content

Instantly share code, notes, and snippets.

@ctigeek
Created January 27, 2015 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctigeek/c1682592d4a83291da79 to your computer and use it in GitHub Desktop.
Save ctigeek/c1682592d4a83291da79 to your computer and use it in GitHub Desktop.
Create Domain Forest
Install-WindowsFeature -Name Ad-Domain-Services -IncludeManagementTools
###local admin password....
$pass = ConvertTo-SecureString "XXXXXXXXXX" -AsPlainText -Force
Install-ADDSForest -DomainName "MyNewDomain.local" -SafeModeAdministratorPassword $pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment