For those of you who have done a SCCM 2012 SP1 install would know it can be quite frustrating making sure all the prerequisites are in place before kicking off an install.
I particularly struggle with the Application Catalogue pre-requisites.
I came across this great script that will install the required prerequisites for any role and site server combo:
Here are the different combinations, as you can see almost every prerequisite scenario is covered off:
.\Install-SCCMPrereqs.ps1 -SiteType CAS
.\Install-SCCMPrereqs.ps1 -SiteType Primary
.\Install-SCCMPrereqs.ps1 -SiteType Secondary
.\Install-SCCMPrereqs.ps1 -SystemRole ApplicationCatalog