scobber
Members
-
Joined
-
Last visited
Reputation Activity
-
scobber got a reaction from Anne in Uninstall Teamviewer via Pulseway@StefanMcl_Pulseway
Feel free to incorporate it into Pulseway
Â
-
scobber got a reaction from Anne in Uninstall Teamviewer via PulsewayHi There,
Â
Here is my removal script. Hope it works for you
Â
## Powershell Teamviewer Uninstall Script ## Scott Pepper ## Careys Freight Lines ## 6th November 2023 if(Get-Service Teamviewer) { Stop-Service TeamViewer Set-Service Teamviewer -StartupType Disabled Write-Host "Teamviewer is installed" if ([System.IO.File]::Exists("C:\Program Files\Teamviewer\uninstall.exe")) { $process = start-process "C:\Program Files\Teamviewer\uninstall.exe" -windowstyle Hidden -ArgumentList "`/S" -PassThru -Wait exit $process.ExitCode } elseif ([System.IO.File]::Exists("C:\Program Files (x86)\Teamviewer\uninstall.exe")) { $process = start-process "C:\Program Files (x86)\Teamviewer\uninstall.exe" -windowstyle Hidden -ArgumentList "`/S" -PassThru -Wait exit $process.ExitCode } else { write-host ("Teamviewer does not appear installed.") } } exit 0 Â