IT professionals are usually pressed for time.  Many that I have spoken to run by the mantra of “Doing more with less”.  While some might think of this as only a monetary constraint, and in many cases it is a major contributor to the spoken IT mantra, time also plays a great factor in an IT administrator’s day to day activities.  A great many of the posts on CANITPRO.NET speak to the lack of time experienced by IT professionals and ways to address it.  With that being said, my recent investigations into PowerShell enablement have prompted me to bring more awareness around the potential PowerShell provides.  While posts such as these would traditionally be submitted as a Step-By-Step, my intention here is to highlight the capabilities of utilizing PowerShell and the time savings it could provide IT professionals utilizing it.

As always, it is recommended that said Windows Server 2012 R2 labs are not conducted in a production environment.  CANITPRO.NET also provides a great Step-By-Step on setting up your own lab environment to assist in your further IT career development.

Adding the Active Directory Role to Member Servers Via GUI

  1. Open Server Manager on the server or client used for server management
     
  2. Click Add other servers to manage
     
  3. In Name, type <The Server Name of the Server You Wish To Add>, and then click Find Now
     
  4. Select <The Server Name of the Server You Wish To Add>, click the arrow button to add the server to the Selected list, and then click OK
     
  5. In Server Manager, click Manage, and then click Add Roles and Features
     
  6. Click Next two times
     
  7. From the Server Pool list, select <The Server Name of the Server You Wish To Add>, and then click Next
     
  8. Choose Active Directory Domain Services
     
  9. Click Add Features
     
  10. Choose DNS Server
     
  11. Click Add Features
     
  12. Click Next
     
  13. Select Group Policy Management
     
  14. Click Next three times
     
  15. Select Restart the destination server automatically if required
     
  16. Click Install
     
  17. After installation is finished, open the Notification pane, and then click Promote this server to a domain controller
     
  18. Click Change. When prompted for credentials, enter your Administrator credentials and click OK
     
  19. Click Next
     
  20. In the Password and Confirm password fields, enter your admin password and then click Next
     
  21. Proceed through the wizard, accepting defaults
     
  22. Click Install
     
  23. Click Close
     

 Adding the Active Directory Role to Member Servers Via PowerShell

  1. Run PowerShell as an Administrator on the server or client used for server management
     
  2. Type the following command, and then press ENTER:

    Install-WindowsFeature –ComputerName SERVER –Name AD-Domain-Services
     
    Note: Enter the name of the server you are trying add the Active Directory Role to in place of the word "SERVER"
     

When harnessed properly, PowerShell can be a great time saver for any IT professional.  Be sure to also checkout Microsoft Virtual Academy has it offers a great Jumpstart to PowerShell session which provides further insight in enabling IT professionals.