Script to clear all browser cache


1 comment

  • Adrian Yong

    I found this on some script sites....but I cannot seem to deploy it via PDQ Deploy Enterprise.....the script works fine if run locally

    $Items = @('Archived 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\$_"

    Comment actions Permalink

Please sign in to leave a comment.