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

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


Based from suggestions found here: