Created
January 27, 2015 19:45
-
-
Save ctigeek/c1682592d4a83291da79 to your computer and use it in GitHub Desktop.
Create Domain Forest
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
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