Powershell Quick Tips Windows Server

Install Windows Features in Bulk with PowerShell

 

Quick Tip: Install Windows Features with PowerShell in bulk

Using my current favourite PowerShell feature, Out-GridView, we can easily and quickly install windows features with a little gui..

The command:

Get-WindowsFeature | Out-GridView –passthru | Install-WindowsFeature

image

You will get an ogv window with the ability to select items to ‘passthru’

image_thumb.png

Select a single or multiple item (via ctrl + click) and hit OK.

When done, all your new features will be installed.

image

Note: be careful with this when selecting the various roles & features. If a role requires source files or additional configuration this doesn’t do this for you.. I typically just use this when wanting to install multiple RSAT features…

Enjoy!
Dan

Leave a Reply