Installing Active Directory with PowerShell

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s