Install Active Directory Domain Services using Windows PowerShell in Windows Server Core.
- Type Start PowerShell and press Enter within the Command Prompt window to open a new Windows PowerShell console window.
- Type Add-WindowsFeature AD-Domain-Services and press Enter to install Active Directory Domain Services.
Create a new Active Directory forest and domain, install Domain Name Services (DNS), and promote the server to a domain controller using
Windows PowerShell in Windows Server Core.
- Type Start PowerShell and press Enter within the Command Prompt window to open a new Windows PowerShell console window.
- Type Install-ADDSForest -DomainName vdom.local -InstallDNS and press Enter to create a new forest and domain named vdom.local.
Note: Replace vdom.local with the correct name of the forest and domain.
- Type the Directory Services Restore Mode (DSRM) password twice and press Enter to save the password. The DSRM password is referred to as the SafeModeAdministratorPassword in Windows PowerShell.
- Type A and press Enter to configure the server as a domain controller and install DNS.
- The domain controller promotion will complete and the server will be rebooted finalizing the process.
Additional Information:
This article applies to Windows Server.