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

Daniel Apps

Hi, I'm Daniel Apps — AI platform enthusiast, unapologetic infrastructure nerd, and dad to two small humans. I write about infrastructure, AI industry topics, and the real-world chaos of modern IT.

More about me →

s