PowerShell: Automating Administrative Tasks
by Michael Shepard, Chendrayan Venkatesan, Sherif Talaat, Brenton J.W. Blawat
Installing Windows features and roles
Windows Server 2012 SP2, and PowerShell 4.0 introduced new cmdlets to install Windows features through the use of scripts. This provides a further layer of automation to the PowerShell toolset as you can dynamically and completely build servers with a single script.
Tip
If you want to manage the Windows features cmdlets from a Windows 8.1 system, you will first need to install Remote Server Administration Tools. Then you will have to enable Server Manager the feature. This will enable you to manage server-based operating systems such as Windows Server 2012 R2. These can be found at http://www.microsoft.com/en-us/download/details.aspx?id=39296.
To view the features that are available for installation and uninstallation ...
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.
Read now
Unlock full access