From 52ca99bf240ced6b696c806f7b16cfbeedc4a9af Mon Sep 17 00:00:00 2001 From: Joeri Date: Fri, 20 Feb 2026 15:24:51 +0100 Subject: [PATCH] - --- cleanup.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cleanup.ps1 b/cleanup.ps1 index 10452fb..c4488f2 100644 --- a/cleanup.ps1 +++ b/cleanup.ps1 @@ -76,13 +76,13 @@ if ($result -eq [System.Windows.Forms.DialogResult]::OK) { exit } - # Run scripts - $CreateRestorePoint = irm $ScriptCreateRestorePoint | iex - $GetComputerInfo = irm $ScriptGetComputerInfo | iex - $GetInstalledAV = irm $ScriptGetInstalledAV | iex - # Send webhook try { + # Run scripts + $CreateRestorePoint = irm $ScriptCreateRestorePoint | iex + $GetComputerInfo = irm $ScriptGetComputerInfo | iex + $GetInstalledAV = irm $ScriptGetInstalledAV | iex + $payload = @{ ticket = $ticket $CreateRestorePoint = $CreateRestorePoint | ConvertFrom-Json