Skip to Content
Windows Server 2016 Administration Cookbook
book

Windows Server 2016 Administration Cookbook

by Jordan Krause
April 2018
Intermediate to advanced content levelIntermediate to advanced
248 pages
7h 18m
English
Packt Publishing
Content preview from Windows Server 2016 Administration Cookbook

Installing the Web Server role with PowerShell

If you haven't started using PowerShell to accomplish some of your regular Windows Server tasks, do it now! PowerShell can be used in Windows Server 2016 to accomplish any task or configuration inside the operating system. I am a huge fan of using the keyboard instead of the mouse in any circumstance, and saving scripts that can be used over and over to save time in the future.

In this recipe, we are going to explore the Install-WindowsFeature cmdlet, which can be used to add a role or roles to your Server 2016. Since we are discussing IIS in this chapter, let's take our newly created web server and use PowerShell to place the Web Server (IIS) role onto it.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows Server 2016 Cookbook

Windows Server 2016 Cookbook

Jordan Krause

Publisher Resources

ISBN: 9781789135930Other