mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Rename safe-chain ultimate to Aikido Endpoint
This commit is contained in:
parent
2c8a1b4972
commit
99e822d509
9 changed files with 25 additions and 599 deletions
|
|
@ -1,9 +1,9 @@
|
|||
# Uninstalls SafeChain Ultimate endpoint on Windows
|
||||
# Uninstalls Aikido Endpoint Protection endpoint on Windows
|
||||
#
|
||||
# Usage: iex (iwr '<url>' -UseBasicParsing)
|
||||
|
||||
# Configuration
|
||||
$AppName = "SafeChain Ultimate"
|
||||
$AppName = "Aikido Endpoint Protection"
|
||||
|
||||
# Helper functions
|
||||
function Write-Info {
|
||||
|
|
@ -32,22 +32,22 @@ function Uninstall-Endpoint {
|
|||
}
|
||||
|
||||
# Find the installed product
|
||||
Write-Info "Looking for SafeChain Ultimate installation..."
|
||||
Write-Info "Looking for Aikido Endpoint Protection installation..."
|
||||
$app = Get-WmiObject -Class Win32_Product -Filter "Name='$AppName'"
|
||||
|
||||
if (-not $app) {
|
||||
Write-Error-Custom "SafeChain Ultimate does not appear to be installed."
|
||||
Write-Error-Custom "Aikido Endpoint Protection does not appear to be installed."
|
||||
}
|
||||
|
||||
$productCode = $app.IdentifyingNumber
|
||||
|
||||
Write-Info "Uninstalling SafeChain Ultimate..."
|
||||
Write-Info "Uninstalling Aikido Endpoint Protection..."
|
||||
$process = Start-Process -FilePath "msiexec" -ArgumentList "/x", $productCode, "/qn", "/norestart" -Wait -PassThru
|
||||
if ($process.ExitCode -ne 0) {
|
||||
Write-Error-Custom "Uninstall failed (exit code: $($process.ExitCode))."
|
||||
}
|
||||
|
||||
Write-Info "SafeChain Ultimate uninstalled successfully!"
|
||||
Write-Info "Aikido Endpoint Protection uninstalled successfully!"
|
||||
}
|
||||
|
||||
# Run uninstallation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue