I'm trying to script setting the application pool recycle times. I used the following command. I have noticed that it appends the time and does not override it. Is there a way to override and not append? Thanks.
%windir%\system32\inetsrv\appcmd.exe set config -section:system.applicationHost/applicationPools /+"[name='Default'].recycling.periodicRestart.schedule.[value='01:05:00']" /commit:apphost