Skip to content

Instantly share code, notes, and snippets.

@xddffccc
xddffccc / Debloat.ps1
Last active April 23, 2026 12:19
money man
if (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) {
Write-Host "Please run PowerShell as Administrator." -ForegroundColor Red
pause
exit
}
function Show-Menu {
Clear-Host
Write-Host "========================================" -ForegroundColor Cyan
Write-Host " MY POWERShell DEBLOATER " -ForegroundColor Yellow