Windows Server 2012 R2: How to add the DHCP role using PowerShell?

Found this blog quite helpful in the middle of a deployment, when getting “Failed to open the runspace pool. The Server Manager WinRM plug-in might be corrupted or missing” in GUI. So PowerShell is more capable if you are confident what you are doing. Here is what I put in the ISE to execute one by one.
Install-WindowsFeature DHCP -IncludeManagementTools
Install-WindowsFeature WINS -IncludeManagementTools

Bekim Dauti's Blog

The following is a sample chapter from the e-Book Windows Server 2012 R2: How to install and add roles? (Server Core). Enjoy reading!

This is what people need: an easy-to-deploy, easy-to-use tool.” Nat Friedman

What is Dynamic Host Configuration Protocol (DHCP)?

Basically, Dynamic Host Configuration Protocol (DHCP) is a computer network protocol that assigns IP addresses to computers on a network. The working principle of DHCP briefly is described through the acronym DORA which means Discovery, Offer, Request, and Acknowledgement. In a computer network, when you turn on your computer and the operating system boots up the DHCP Client service transmits the request for an IP address. In fact, this request is an attempt to identify whether or not a DHCP server is available on a LAN. If it is, the DHCP server accepts the DHCPDISCOVER message from the client, reserves an IP address for the client, and…

View original post 328 more words