Skip to content

Instantly share code, notes, and snippets.

@TimLeitch
Last active June 3, 2022 21:05
Show Gist options
  • Select an option

  • Save TimLeitch/a45507362467643a7609e7e365152355 to your computer and use it in GitHub Desktop.

Select an option

Save TimLeitch/a45507362467643a7609e7e365152355 to your computer and use it in GitHub Desktop.
Install RevoUninstaller Portable and remove when done
$source = "https://download.revouninstaller.com/download/RevoUninstaller_Portable.zip";
$destination = "c:\Temp\Revo_Portable.zip";
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest $source -OutFile $destination
Expand-Archive $destination C:\Temp\Revo
Start-Process -FilePath C:\Temp\Revo\RevoUninstaller_Portable\RevoUPort.exe -wait
Remove-Item -Recurse -Path C:\Temp\Revo
Remove-Item -Recurse -Path C:\Temp\Revo_Portable.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment