Skip to main content

Clear-SafariCacheOSX

Overview​

Clear the Safari Cache on macOS devices.

Requirements​

Must be run on macOS devices.

Process​

  1. Loop through cache files and folders, removing those items.
  2. 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​

PayloadLocation
Script/repo/scripts/Clear-SafariCachemacOS.ps1
Automate
ConnectWise RMM
Kaseya
Datto RMM

Attachments​

Install-AnyConnect.ps1

Changelog​

2025-04-10​

  • Initial version of the document