Skip to content

Instantly share code, notes, and snippets.

@rheid
Created August 12, 2022 17:37
Show Gist options
  • Save rheid/955c39bdc5c842942ad37eb95527d6b8 to your computer and use it in GitHub Desktop.
Save rheid/955c39bdc5c842942ad37eb95527d6b8 to your computer and use it in GitHub Desktop.
PowerShell Basics: How to Delete Microsoft Teams Cache for All Users
Get-ChildItem "C:\Users\*\AppData\Roaming\Microsoft\Teams\*" -directory | Where name -in ('application cache','blob storage','databases','GPUcache','IndexedDB','Local Storage','tmp') | ForEach{Remove-Item $_.FullName -Recurse -Force -WhatIf}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment