PowerShell – Get-WindowsFeature & Install-WindowsFeature

email me

Pretty awesome CmdLets that will open up the world to automating server setup, especially SCCM.

Get-WindowsFeature | Out-GridView

Install-WindowsFeature -Name @((Get-WindowsFeature).Where({$PSItem.InstallState –ne ‘Installed’}) | Out-GridView -OutputMode Multiple) -IncludeManagementTools –Verbose