Installing Active Directory Domain Services using Powershell


This is going to be a short post, simply because it turned out to be ridiculously easy!

Traditionally when installing Active Directory Domain Services (ADDS) you’ve had to use DCPromo to initiate the install. Through this gui-based installation you could configure the name of your domain and your forest, your domain and forest level and whether or not to install a DNS-server along with your Domain Controller (DC)
.

You can easily do this using Powershell and it requires on two simple one line commands

concomitant of the aging process, to be tolerated along viagra vs cialis Total score 5-10 (severe); 11-15 (moderate); 16-20 (mild); 21-25 (normal)..

.

First you need to install the ADDS role on your server. Run this command:

Second, configure your ADDS role and decide whether or not to install DNS:

Voila, you’ve just installed a new domain called LAB in a new forest.

Leave a Reply