This commit is contained in:
Joeri 2026-02-20 14:32:04 +01:00
parent e933781b0e
commit 06f38e5766

View file

@ -2,9 +2,16 @@ $ScriptTitle = "Cleanup Script"
$WebhookURL = "https://n8n.questcomputers.be/webhook-test/8fde21e2-937f-4142-b983-6e1606e29335" $WebhookURL = "https://n8n.questcomputers.be/webhook-test/8fde21e2-937f-4142-b983-6e1606e29335"
$RemoteScriptURL = "https://git.questcomputers.be/quest-scripts/scripts/raw/branch/main/cleanup.ps1" $RemoteScriptURL = "https://git.questcomputers.be/quest-scripts/scripts/raw/branch/main/cleanup.ps1"
Add-Type -AssemblyName System.Windows.Forms $LogDirectory = "C:\Quest"
# Check if C:\Quest exists...
if (-not (Test-Path $LogDirectory)) {
New-Item -Path $LogDirectory -ItemType Directory -Force | Out-Null
}
# Form # Form
Add-Type -AssemblyName System.Windows.Forms
$form = New-Object System.Windows.Forms.Form $form = New-Object System.Windows.Forms.Form
$form.Text = $ScriptTitle $form.Text = $ScriptTitle
$form.Size = New-Object System.Drawing.Size(320, 160) $form.Size = New-Object System.Drawing.Size(320, 160)