text
stringlengths
0
4.23k
Examples
To delete the cache entry with the RecordID of {6511FB02-E195-40A2-B595-E8E2F8F47702}:
bitsadmin /cache /delete {6511FB02-E195-40A2-B595-E8E2F8F47702}
bitsadmin cache and deleteURL
Deletes all cache entries for the given URL.
Syntax
bitsadmin /deleteURL URL
Parameters
Parameter
Description
URL
The Uniform Resource Locator that identifies a remote file.
Examples
To delete all cache entries for https://www.contoso.com/en/us/default.aspx:
https://www.contoso.com/en/us/default.aspx
bitsadmin /deleteURL https://www.contoso.com/en/us/default.aspx
bitsadmin cache and getexpirationtime
Retrieves the cache expiration time.
Syntax
bitsadmin /cache /getexpirationtime
Examples
To retrieve the cache expiration time:
bitsadmin /cache /getexpirationtime
bitsadmin cache and getlimit
Retrieves the cache limit.
Syntax
bitsadmin /cache /getlimit
Examples
To retrieve the cache limit:
bitsadmin /cache /getlimit
bitsadmin cache and help
Displays the command-line usage for the cache switches.
Syntax
bitsadmin /cache /help
Examples
To show the command-line help for the cache switches.
bitsadmin /cache /help
bitsadmin cache and info
Dumps a specific cache entry.
Syntax
bitsadmin /cache /info recordID [/verbose]
Parameters
Paramreter
Description
recordID
The GUID associated with the cache entry.
Examples
To dump the cache entry with the recordID value of {6511FB02-E195-40A2-B595-E8E2F8F47702}:
bitsadmin /cache /info {6511FB02-E195-40A2-B595-E8E2F8F47702}
bitsadmin cache and list
Lists all cache entries.
Syntax
bitsadmin /cache /list [/verbose]
Examples
To list all cache entries in verbose format.
bitsadmin /cache /list /verbose
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