text
stringlengths
0
4.23k
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
bitsadmin cache and setlimit
Sets the cache size limit.
Syntax
bitsadmin /cache /setlimit percent
Parameters
Parameter
Description
percent
The cache limit defined as a percentage of the total hard disk space.
Examples
To set the cache size limit to 50%:
bitsadmin /cache /setlimit 50
bitsadmin cache
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Contains a list of the bitsadmin /cache switches.
Contains a list of the bitsadmin /cache switches.
Syntax
bitsadmin /cache /help
bitsadmin /cache /clear
bitsadmin /cache /delete
bitsadmin /cache /deleteURL
bitsadmin /cache /list
bitsadmin /cache /info
bitsadmin /cache /getlimit
bitsadmin /cache /setlimit
bitsadmin /cache /getexpirationtime
bitsadmin /cache /setexpirationtime
Parameters
Parameter
Description
bitsadmin cache and help
Displays the command-line usage for the /cache switches.
bitsadmin cache and clear
Purges the local cache.
bitsadmin cache and delete
Deletes a cache entry.
bitsadmin cache and deleteURL
Deletes all cache entries for the given URL.
bitsadmin cache and list
Lists all cache entries.
bitsadmin cache and info
Dumps a specific cache entry.
bitsadmin cache and getlimit
Retrieves the cache limit.
bitsadmin cache and setlimit
Sets the cache limit.
bitsadmin cache and getexpirationtime
Retrieves the cache expiration time.