View Complete Thread
  • Re: Setting Recycling->Specific Times for application pools

    Feb 29, 2012 10:31 AM|hx716|LINK

    "applicationPoolDefault" will set the default values for the new app pools to be created afterwords. To create a value for a specific AppPool you can the following:

    clear-ItemProperty IIS:\AppPools\MyPoolName -Name Recycling.periodicRestart.schedule #clear the existing values
    set-ItemProperty IIS:\AppPools\MyAppPoolName -Name Recycling.periodicRestart.schedule -Value @{value="03:00:00"} #to set it to 3 AM

     

    iis7 powershell snap-in AppPool