Quick and easy script to either run remotely or locally on the Service Manager Portal server.

This script will disable the App Pool Periodic and Idle Timeouts while also increasing the Max Worker Processes to the same as the ammount of CPU's in the server.

Running is very simple, either:

 .Example for local execution
 .\Tune-SCSPortal.ps1

 .Example for remote execution
 .\Tune-SCSPortal.ps1 -SCSMPortalServer "ServerName"

 

Based from suggestions found here:

http://blogs.technet.com/b/servicemanager/archive/2011/05/11/faq-why-is-the-self-service-portal-so-slow.aspx