badtutta / CacheClean

0 stars 0 forks source link

Feedback: Update Outlook and Teams Cache Clearing #2

Open brmcmill opened 1 year ago

brmcmill commented 1 year ago

Hey @badtutta -- I think we need to add these for clearing out Outlook and Teams:

Outlook Remove-Item -Path $env:LOCALAPPDATA\"Microsoft\Outlook" -Recurse -Force

This feels like the best way to clean the Outlook cache, as it will clear out the .OST files if Offline Folder Settings is used.

Teams Remove-Item -Path $env:APPDATA\"Microsoft\Teams" -Recurse -Force

I think with Teams, it's best to clear out the entire directory based off the guidance here: https://learn.microsoft.com/en-us/microsoftteams/troubleshoot/teams-administration/clear-teams-cache#clear-teams-cache-in-windows