bitsadmin cache and setexpirationtime
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Sets the cache expiration time.
Syntax
bitsadmin /cache /setexpirationtime secs
Parameters
Parameter | Description |
---|---|
secs | The number of seconds until the cache expires. |
Examples
To set the cache to expire in 60 seconds:
bitsadmin /cache / setexpirationtime 60