No need to go to registry and seek for the hives to adjust their values.
#$procid=get-process teams |select -expand id
taskkill /IM teams.exe /F
Remove-Item C:\Users\michal\AppData\Roaming\Microsoft\Teams\* -Recurse -Force