update to log message

This commit is contained in:
2022-03-24 16:48:37 -04:00
parent 5237e029c6
commit 923e162f1a
+1 -1
View File
@@ -4,7 +4,7 @@ End-Process -Name "Teams" -Match -Force
## Remove all cached content
$CacheDir = "${Env:LOCALAPPDATA}\Microsoft\Teams"
If ( Test-Path $CacheDir ) {
LogMsg "Removing all cached data"
LogMsg "Removing all cached data for Microsoft Teams"
Try { Remove-Item $CacheDir -Recurse -Force }
Catch { LogErr $_.Exception.Message }
} Else { LogMsg "Could not clear cached data for Microsoft Teams because the directory could not be found: ${CacheDir}" }