bitsadmin cache and setexpirationtime

適用於:Windows Server 2022、Windows Server 2019、Windows Server 2016、Windows Server 2012 R2、Windows Server 2012

設定緩存過期時間。

語法

bitsadmin /cache /setexpirationtime secs

參數

參數 描述
快取過期之前的秒數。

範例

將快取設定為 60 秒後過期:

bitsadmin /cache / setexpirationtime 60