Clear-SafariCacheOSX
Overview
Clear the Safari Cache on macOS devices.
Requirements
Must be run on macOS devices.
Process
- Loop through cache files and folders, removing those items.
- Log any errors.
Payload Usage
Clear-SafariCachemacOS.ps1
Clears all Safari cache files and folders from macOS devices.
Output
./Clear-SafariCachemacOS-log.txt
./Clear-SafariCachemacOS-error.txt
Locations
Payload | Location |
---|---|
Script | /repo/scripts/Clear-SafariCachemacOS.ps1 |
Automate | |
ConnectWise RMM | |
Kaseya | |
Datto RMM |