Skip to content

Instantly share code, notes, and snippets.

View hmunyeku's full-sized avatar

Hervé MUNYEKU hmunyeku

  • BinGroup SIS
  • Pointe-Noire
View GitHub Profile
@hmunyeku
hmunyeku / reinstall_teams.ps1
Created August 23, 2021 08:10
Clearing , Uninstall and Reinstall Teams
#Clearing , Uninstall and Reinstall Teams by Herve MUNYEKU (hmunyeku@gmail.com)
#Function to generate a timestamp that is added to the log file
function Get-TimeStamp {
return "[{0:MM/dd/yy} {0:HH:mm:ss}]" -f (Get-Date)
}
#Function to generate a log file
if ((Test-Path -Path "c:\Temp\Teams" -PathType Container) -ne $true ) {mkdir "c:\Temp\Teams" | Out-Null}
$LogFile = "c:\Temp\Teams\Teams.log"