Before an installation of SCCM, you need to enable a couple of requirements in sccm 2012 server roles and features.
You can add these using the server manager snap-in but since you are a good admin, you know that you can use Powershell !
Here’s the commands I use in the script to enable the required roles before my SCCM installations :
- Get-Module servermanager
- Install-WindowsFeature Web-Windows-Auth
- Install-WindowsFeature Web-ISAPI-Ext
- Install-WindowsFeature Web-Metabase
- Install-WindowsFeature Web-WMI
- Install-WindowsFeature BITS
- Install-WindowsFeature RDC
- Install-WindowsFeature NET-Framework-Features
- Install-WindowsFeature Web-Asp-Net
- Install-WindowsFeature Web-Asp-Net45
- Install-WindowsFeature NET-HTTP-Activation
- Install-WindowsFeature NET-Non-HTTP-Activ
Run it in a PowerShell prompt and get a coffee while the magic happens, you earn it !
You can have more details here.
sccm 2012 server roles and features
Founder of System Center Dudes. Based in Montreal, Canada, Senior Microsoft SCCM Consultant, 5 times Enterprise Mobility MVP. Working in the industry since 1999. His specialization is designing, deploying and configuring SCCM, mass deployment of Windows operating systems, Office 365 and Intunes deployments.
One Comment on “Add Server Requirement using Powershell”
•Install-WindowsFeature Web-Asp-Net45, its 4.5 not 45