Jeff Wouters's Blog

Use PowerShell to install prerequisites for Windows roles

by on Jul.17, 2013, under DuPSUG, PowerShell, Windows, Windows Server, WSUS

When you’re using PowerShell to configure your servers you may encounter a little thing called ‘prerequisites’.
To install the prerequisites for a role, you can simply use PowerShell.
Let’s take WSUS for example:

Get-WindowsFeature OOB-WSUS | Select-Object -ExpandProperty DependsOn | Add-WindowsFeature

Leave a Reply