From 347ffb1b0553e065dc954e9f9c0b225515a583ed Mon Sep 17 00:00:00 2001 From: Joeri Date: Fri, 20 Feb 2026 15:45:39 +0100 Subject: [PATCH] - --- cleanup.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cleanup.ps1 b/cleanup.ps1 index 7e3b085..6580cf7 100644 --- a/cleanup.ps1 +++ b/cleanup.ps1 @@ -2,6 +2,7 @@ $ScriptTitle = "Cleanup Script" $WebhookURL = "https://n8n.questcomputers.be/webhook-test/8fde21e2-937f-4142-b983-6e1606e29335" # Remote scripts +$ScriptCreateRestorePoint = "https://git.questcomputers.be/quest-scripts/scripts/raw/branch/main/create_restorepoint.ps1" $ScriptGetComputerInfo = "https://git.questcomputers.be/quest-scripts/scripts/raw/branch/main/pc_information.ps1" $ScriptGetInstalledAV = "https://git.questcomputers.be/quest-scripts/scripts/raw/branch/main/installed_av.ps1" @@ -77,11 +78,13 @@ if ($result -eq [System.Windows.Forms.DialogResult]::OK) { # Send webhook try { + $CreateRestorePoint = irm $ScriptCreateRestorePoint | iex $GetComputerInfo = irm $ScriptGetComputerInfo | iex $GetInstalledAV = irm $ScriptGetInstalledAV | iex $payload = @{ ticket = $ticket + CreateRestorePoint = $CreateRestorePoint | ConvertFrom-Json GetComputerInfo = $GetComputerInfo | ConvertFrom-Json GetInstalledAV = $GetInstalledAV | ConvertFrom-Json } | ConvertTo-Json -Compress