PowerAddict.net

powerAddict.NET

by Lou Goban
IT Application Professional at Syntax

How to remove Teams cache for a logged in user via PowerShell

Get-ChildItem -Path "$env:USERPROFILE\AppData\Roaming\Microsoft\Teams" -Directory | Where {$_ -in ('Cache','databases','blob_storage','IndexedDB','')} | ForEach {Remove-Item $_.FullName -Recurse -Force}

Leave the first comment