Scripts to Remove the Zoom Client
Given the increased amount of Zoom vulnerabilities, one of my clients wanted to remove any and all Zoom installations from their domain workstations. So, naturally, PowerShell to the rescue!
<
.SYNOPSIS
Downloads the CleanZoom.exe removal tool, if it doesn't already exist. Then runs the uninstaller
>
try
{
$filecheck = Get-ChildItem C:\Windows\Temp\CleanZoom.exe -ErrorAction Stop
Write-Output "File Exists"
C:\Windows\Temp\CleanZoom.exe
}
catch [System.Management.Automation.ItemNotFoundException]
{
Write-Output "Downloading File"
Invoke-WebRequest "https://support.zoom.us/hc/en-us/article_attachments/360033082431/CleanZoom.exe" -OutFile "C:\Windows\Temp\CleanZoom.exe"
C:\Windows\Temp\CleanZoom.exe
}
catch
{
Write-Output $error[0]
}
What this will do is go out and download the official Zoom client uninstaller, CleanZoom.exe, to the...