[SPS] IIS – Wake Up Application Pools using PowerShell

So here is a script to wake up a specific application pool, if that application pool is not “Started”

and in case you want to check every application pool on the server (and start the ones that are not “started”):

Note: the script runs in loop too