PowerShell Script for Active Directory Domain Services Deployment
Here is the Windows PowerShell script for Active Directory Domain Services Deployment on Windows Server 2012 R2. [code language=”powershell”] # # Windows PowerShell script for AD DS Deployment # Import-Module ADDSDeployment Install-ADDSForest ` -CreateDnsDelegation:$false ` -DatabasePath "C:\Windows\NTDS" ` -DomainMode "Win2012R2" ` -DomainName "xdpoc.lan" ` -DomainNetbiosName "XDPOC" ` -ForestMode "Win2012R2" ` -InstallDns:$true ` -LogPath "C:\Windows\NTDS" ` -NoRebootOnCompletion:$false ` -SysvolPath "C:\Windows\SYSVOL" ` -Force:$true [/code]
Read more