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.
![HOW10253_en_US__1start ps](https://supportkb.dell.com/img/ka06P000000YcOnQAK/ka06P000000YcOnQAK_en_US_1.jpeg)
- Type Add-WindowsFeature AD-Domain-Services and press Enter to install Active Directory Domain Services.
![HOW10253_en_US__2W_ps_install adds_JM_V1](https://supportkb.dell.com/img/ka06P000000YcOnQAK/ka06P000000YcOnQAK_en_US_2.jpeg)
![HOW10253_en_US__3W_ps_install adds 2_JM_V1](https://supportkb.dell.com/img/ka06P000000YcOnQAK/ka06P000000YcOnQAK_en_US_3.jpeg)
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.
![]()
![HOW10253_en_US__6W_ps_start ps_JM_V1](https://supportkb.dell.com/img/ka06P000000YcOnQAK/ka06P000000YcOnQAK_en_US_4.jpeg)
- Type Install-ADDSForest -DomainName vdom.local -InstallDNS and press Enter to create a new forest and domain named vdom.local.
![HOW10253_en_US__7W_ps_install forest 1_JM_V1](https://supportkb.dell.com/img/ka06P000000YcOnQAK/ka06P000000YcOnQAK_en_US_5.jpeg)
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.
![HOW10253_en_US__8W_ps_install forest 2_JM_V1](https://supportkb.dell.com/img/ka06P000000YcOnQAK/ka06P000000YcOnQAK_en_US_6.jpeg)
- Type A and press Enter to configure the server as a domain controller and install DNS.
![HOW10253_en_US__10W_ps_install forest 3_JM_V1](https://supportkb.dell.com/img/ka06P000000YcOnQAK/ka06P000000YcOnQAK_en_US_7.jpeg)
- The domain controller promotion will complete and the server will be rebooted finalizing the process.
![HOW10253_en_US__11W_ps_install forest 4_JM_V1](https://supportkb.dell.com/img/ka06P000000YcOnQAK/ka06P000000YcOnQAK_en_US_8.jpeg)
Additional Information:
This article applies to Windows Server.