Last active
April 10, 2017 17:11
-
-
Save bunchc/1d97b496aa1d6efe146f799b2fb34547 to your computer and use it in GitHub Desktop.
BoxStarter to bootstrap a simple Windows DC
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
$newDomainName="orangutan.local" | |
$newDomainNetBios="orangutan" | |
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
# Install some useful packages | |
cinst git | |
cinst git-credential-winstore | |
cinst console-devel | |
cinst sublimetext2 | |
cinst poshgit | |
cinst dotpeek | |
cinst putty | |
cinst winscp | |
# Enable AD | |
Install-WindowsFeature 'AD-Domain-Services' -IncludeAllSubFeature -IncludeManagementTools | |
# Installing ADDS Forest | |
Install-ADDSForest -DomainName $newDomainName -DomainNetbiosName $newDomainNetBios -SafeModeAdministratorPassword (ConvertTo-SecureString "P@ssword1" -AsPlainText -Force) -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment