Summary
Clears the cache used for downloading SoftPaq database files
Syntax
Clear-SoftpaqCache [[-CacheDir] <DirectoryInfo>] [<CommonParameters>]
Description
This command clears the cache used for downloading SoftPaq database files.
This command is not needed in normal operations as the cache does not grow significantly over time and is also cleared when normal operations flush the user's temporary directory.
This command is only intended for debugging purposes.
Parameters
Name | Argument | Description |
---|---|---|
CacheDir | <DirectoryInfo> | Specifies a custom location for caching data files. If not specified, the user-specific TEMP directory is used. |
Notes
This command removes the cached files from the user temporary directory. It cannot be used to clear the cache when the data files are stored inside a repository structure. Custom cache locations (other than the default) must be specified via the cacheDir folder.
Examples
PS C:\> Clear-SoftpaqCache