Skip to main content

Posts

Showing posts from February, 2021

Learn : How to clean cache files to handle MS Teams issues

Microsoft is focusing on collaboration and MS Teams is most popular now a days. We can update settings / profile from MS Teams and other Office 365 documents. Sometimes we may faced issue related to cache, it means that we are updating something and its not working on our local machine only. Same situation was with me, user had changed his name and its available correctly for other team member but on his local machine its old one even in all Office 365 clients (MS Word, Excel, etc.). Manually tried to clean up some files but its not working. So drafted a PS script that worked.  Sharing that PS snippet with you all so that you can also save your time. PowerShell script at GitHub  Clean MS Teams Cache $VerbosePreference = "Continue" # Force Close any Teams Process Get-Process -Name "Teams" | Stop-Process -Force # Get Microsoft Teams Paths $TeamsRemovePath = @() $TeamsRemovePath += Join-Path -Path ([Environment]::GetFolderPath('ApplicationData')) -ChildPath (...