Clear-ChromiumCache
Description
Clears browser caches for Chromium-based browsers.
Usage
- Searches for well-known Chromium cache folders under each user's AppData directory.
- Deletes all cache data from these discovered directories.
- Browser instances will be terminated if -Forceis passed and they hold a handle to the target cache files.
 
- Browser instances will be terminated if 
Clears detected Chromium browser caches from the target machine. Files with an active handle to the browser process will not be removed.
.\Clear-ChromiumCache.ps1
Clears detected Chromium browser caches from the target machine, closing existing browser processes if required.
.\Clear-ChromiumCache.ps1 -Force
Parameters
| Parameter | Alias | Required | Default | Type | Description | 
|---|---|---|---|---|---|
| Force | False | Bool | Closes existing browser processes with handles open to target cache files. | 
Output
.\Clear-ChromiumCache-log.txt