UpdateAppPoolRecycling


UpdateAppPoolRecycling
    [-name] <String>
    [-periodicRestart] <String> = "02:00:00"
    [-privateMemory] <int> = 1048576

Description

Update the settings for how frequently an application pool should restart.

The supported triggers for restart are time (default to 2 hours) and memory size (default to 1048576KB/1024MB/1GB)

Example


UpdateAppPoolRecycling -name "MyAppPool" -periodicRestart "00:30:00"


UpdateAppPoolRecycling -name "MyAppPool" -privateMemory 524288


UpdateAppPoolRecycling -name "MyAppPool" -periodicRestart "00:30:00" -privateMemory 524288