Difference between revisions of "Join a 2012 server to a new forest"

From MyWiki
Jump to: navigation, search
(Created page with "<source lang="powershell"> # # Windows PowerShell script for AD DS Deployment # Import-Module ADDSDeployment Install-ADDSForest ` -CreateDnsDelegation:$false ` -DatabasePath...")
 
(No difference)

Latest revision as of 11:02, 9 December 2017

#
# Windows PowerShell script for AD DS Deployment
#
 
Import-Module ADDSDeployment
Install-ADDSForest `
-CreateDnsDelegation:$false `
-DatabasePath "C:\Windows\NTDS" `
-DomainMode "Win2012R2" `
-DomainName "smelly.socks" `
-DomainNetbiosName "SMELLY" `
-ForestMode "Win2012R2" `
-InstallDns:$true `
-LogPath "C:\Windows\NTDS" `
-NoRebootOnCompletion:$false `
-SysvolPath "C:\Windows\SYSVOL" `
-Force:$true