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