Skip to content

Instantly share code, notes, and snippets.

@cloudcap10
Last active May 15, 2020 01:33
Show Gist options
  • Select an option

  • Save cloudcap10/eed94f66782fb6d44083247d780907df to your computer and use it in GitHub Desktop.

Select an option

Save cloudcap10/eed94f66782fb6d44083247d780907df to your computer and use it in GitHub Desktop.
clear the cache by deleting the contents of the Cache folder from https://stackoverflow.com/questions/25210330/script-for-clearing-chrome-or-firefox-cache-on-windows
$Items = @('Archived History',
'Cache\*',
'Cookies',
'History',
'Login Data',
'Top Sites',
'Visited Links',
'Web Data')
$Folder = "$($env:LOCALAPPDATA)\Google\Chrome\User Data\Default"
$Items | % {
if (Test-Path "$Folder\$_") {
Remove-Item "$Folder\$_"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment