diff --git a/Fix-ClearTeamsCache.ps1 b/Fix-ClearTeamsCache.ps1 new file mode 100644 index 0000000..2920c02 --- /dev/null +++ b/Fix-ClearTeamsCache.ps1 @@ -0,0 +1,7 @@ +# Inspired by: https://docs.microsoft.com/en-us/microsoftteams/troubleshoot/teams-administration/clear-teams-cache + +# Stop Teams if it's running +End-Process -Name "Teams" -Match -Force + +# Clear all cached content +Get-ChildItem -Path "${Env:AppData}\Microsoft\Teams" -Recurse | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \ No newline at end of file