PowerShell has grown a lot over the last decade and now you are able to control a Domain Controller with a few simple commands. This is very exciting and this guide will help all of you IT Pros. Lets get started.
First you will have to install the Active Directory Domain Service Role.
Make sure your PowerShell has the elevated rights and type in the following command:
Get-WindowsFeature AD-Domain-Services | Install-WindowsFeature
Now it is time to do the Prerequisites Check (PC) which will alert you with suggested repair options, and inform you of security changes.