First commit

This commit is contained in:
2024-03-15 09:25:58 +01:00
parent 8d74a9159b
commit 81ad45b4fe
9 changed files with 568 additions and 2 deletions

31
Uninstall.ps1 Normal file
View File

@@ -0,0 +1,31 @@
<#
.SYNOPSIS
Uninstall script for the Elysium AD password testing tool.
.DESCRIPTION
This script will remove the Elysium tool and its components (scripts, configurations, and any generated data) from the system.
#>
# Define the path where the Elysium tool is installed
$ElysiumPath = "C:\Path\To\Elysium" # Update this with the actual installation path
function Uninstall-Elysium {
Write-Host "Uninstalling Elysium tool..."
# Check if the Elysium directory exists
if (Test-Path $ElysiumPath) {
# Remove the Elysium directory and all its contents
Remove-Item -Path $ElysiumPath -Recurse -Force
Write-Host "Elysium tool and all related files have been removed."
} else {
Write-Host "Elysium directory not found. It might have been removed already or the path is incorrect."
}
# Additional cleanup actions can be added here if needed
}
# Execute the uninstall function
Uninstall-Elysium
# Confirm uninstallation
Write-Host "Elysium tool has been successfully uninstalled." -ForegroundColor Green