Installing Windows Features with Windows PowerShell

I ‘m a big fan of the new version of the Windows server platform. I’ve recently deployed 6 Windows 2008 (64) R2 servers. On one of the servers I am going to install Microsoft Office Communicator 2007 R2. One of the prerequisites is .NET Framework 3.5 SP1. This can be installed in the ServerManager under Features. This means you have to scroll down a long list of Windows Features. There has to be an easier way.
Enter the world of Windows PowerShell!

To install .Net Framework 3.5 SP1 with Windows PowerShell do the following:
Start Windows Powershell as administrator
Import-Module ServerManager
Add-WindowsFeature as-net-framework


This definitely reduces your implementation time!

To get a full list of Windows Features one can install with Windows PowerShell:

Import-Module ServerManager

Was once an enthusiastic PepperByte employee but is now working at Ivanti. His blogs are still valuable to us and we hope to you too.