Install AD DS, DNS, and DHCP using Powershell on Windows Server 2016

This article serves as a guide to installing and configuring roles on Windows 2016 servers using powershell.

To begin, right-click the Windows Powershell taskbar icon and select “Run as Administrator”. To view Windows features and statuses enter this command into the console:

Get-WindowsFeature