Skip to content

Instantly share code, notes, and snippets.

View fabricesemti80's full-sized avatar

Fabrice Semti fabricesemti80

View GitHub Profile
@fabricesemti80
fabricesemti80 / removesophos.ps1
Last active September 27, 2022 10:36 — forked from ctrl-freak/removesophos.ps1
Sophos Endpoint Removal Script
# https://www.reddit.com/r/sysadmin/comments/ck677f/sophos_removal_script/
# https://pastebin.com/4eRc5WpA
#Sophos Endpoint Removal Script
#Usage examples:
# .\removesophos.ps1 # Just logs all messages to screen and file.
# .\removesophos.ps1 -Remove YES # Removes all Sophos components and logs all messages to screen and file.
# .\removesophos.ps1 -Password 1234567 -Remove YES # Password will be provided to SEDCli.exe if TP is on and SEDCLi.exe exists.
# .\removesophos.ps1 -ErrorOnly YES # Only print items that exist (errors) on screen. Still logs all to file.