I am trying to use PowerShell to iterate through a list of servers and change the 'MaxProcesses' value under 'ProcessModel' (found in Advanced Settings of Application Pool in IIS)
I have already figured out how to remotely start and stop application pools but I cannot seem to nail down how to modify settings.
Your help is appreciated!
PS - I am using Get-WmiObject to build the $appPool object where I call $appPool.Stop() and $appPool.Start(). Any ways to update settings also using this object, I'd be grateful!