79621460

Date: 2025-05-14 12:28:45
Score: 4.5
Natty:
Report link

I am using IIS10 and trying the command:

appcmd set apppool /apppool.name: defaultapplicationpool /recycling.periodicRestart.time:00:30:00

And I get an answer:

APPPOOL object "defaultapplicationpool" changed

But in fact, nothing happened to the pool. The settings were not applied.

I found a solution using powershell:

Set-ItemProperty -Path IIS:\AppPools\defaultapplicationpool -Name recycling.periodicRestart.schedule -Value @{value = '00:30:00'}

But it's more convenient for me to use appcmd.

Can anyone explain why there is such a problem?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can anyone explain
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Vladimir1211