Skip to content

Instantly share code, notes, and snippets.

@swaters86
Created January 7, 2025 14:07
Show Gist options
  • Save swaters86/6d4750eeadd3ff61d2692f82596e3fcf to your computer and use it in GitHub Desktop.
Save swaters86/6d4750eeadd3ff61d2692f82596e3fcf to your computer and use it in GitHub Desktop.
Get-Service -Name "ServiceName" | Select-Object *
# Navigate to the registry key for services
Remove-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\ServiceName" -Recurse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment