Skip to content

Instantly share code, notes, and snippets.

@IAmStoxe
Last active July 30, 2020 12:24
Show Gist options
  • Save IAmStoxe/98687a69bfd74e5fda2ec22fb00b83e3 to your computer and use it in GitHub Desktop.
Save IAmStoxe/98687a69bfd74e5fda2ec22fb00b83e3 to your computer and use it in GitHub Desktop.
Remove Microsoft Teams cache data automatically.
Remove-Item (Join-Path $env:APPDATA "\Microsoft\Teams\Blob_storage\") -Recurse -Force
Remove-Item (Join-Path $env:APPDATA "\Microsoft\Teams\cache\") -Recurse -Force
Remove-Item (Join-Path $env:APPDATA "\Microsoft\Teams\IndexedDB\") -Recurse -Force
Remove-Item (Join-Path $env:APPDATA "\Microsoft\Teams\databases\") -Recurse -Force
Remove-Item (Join-Path $env:APPDATA "\Microsoft\Teams\GPUCache\") -Recurse -Force
Remove-Item (Join-Path $env:APPDATA "\Microsoft\Teams\Local Storage\") -Recurse -Force
Remove-Item (Join-Path $env:APPDATA "\Microsoft\Teams\tmp\") -Recurse -Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment