Skip to content

Instantly share code, notes, and snippets.

@okieselbach
Created December 15, 2018 11:08
Show Gist options
  • Save okieselbach/4a379a5407b5cb66d38117060a3acf9b to your computer and use it in GitHub Desktop.
Save okieselbach/4a379a5407b5cb66d38117060a3acf9b to your computer and use it in GitHub Desktop.
<#
Version: 1.0
Author: Oliver Kieselbach (oliverkieselbach.com)
Date: 15.12.2018
Description:
Uninstall BGInfo64. User has to switch background to the original one by his own.
Release notes:
Version 1.0: Original published version.
The script is provided "AS IS" with no warranties.
#>
Remove-Item -Path "C:\Program Files\BGInfo" -Recurse -Force -Confirm:$false
Remove-Item -Path "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\BGInfo.lnk" -Force -Confirm:$false
Return 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment