You are on page 1of 1

Install-WindowsFeature AD-Domain-Services -IncludeManagementTools

Install-ADDSDomainController `
-NoGlobalCatalog:$false `
-CreateDnsDelegation:$false `
-CriticalReplicationOnly:$false `
-DatabasePath "C:\Windows\NTDS" `
-DomainName "testcorp.local" `
-InstallDns:$true `
-LogPath "C:\Windows\NTDS" `
-NoRebootOnCompletion:$false `
-ReplicationSourceDC "DC01.testcorp.local" `
-SiteName "Default-First-Site-Name" `
-SysvolPath "C:\Windows\SYSVOL" `
-Force:$true
© 2022 GitHub, Inc.
Terms
Privacy

REPLICATION
APPLIATION

Install-ADDSDomain `
-NoGlobalCatalog:$false `
-CreateDNSDelegation `
-Credential (Get-Credential) `
-DatabasePath "C:\Windows\NTDS" `
-DomainMode "Win2012" `
-DomainType "ChildDomain" `
-InstallDNS:$true `
-LogPath "C:\Windows\NTDS" `
-NewDomainName "settat.formation" `
-NewDomainNetBIOSName "FORMATION" `
-ParentDomainName "settat.formation.com" `
-Norebootoncompletion:$false `
-SiteName "Default-First-Site-Name" `
-SYSVOLPath "C:\Windows\SYSVOL"
-Force:$true

******install domain enfant*******


install-Addsdomain -Domaintype child -newdomainname settat -parentdomainname
formation.com -credential (get-credential) -whatif

You might also like