From eda39def22f9de338e84020e852b67e9ff1b68dc Mon Sep 17 00:00:00 2001 From: Joeri Date: Fri, 20 Feb 2026 14:41:00 +0100 Subject: [PATCH] - --- cleanup.ps1 | 4 ++-- pc_information.ps1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cleanup.ps1 b/cleanup.ps1 index 1fa30cb..5e534cd 100644 --- a/cleanup.ps1 +++ b/cleanup.ps1 @@ -1,6 +1,6 @@ $ScriptTitle = "Cleanup Script" $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" +$GetComputerInfo = "https://git.questcomputers.be/quest-scripts/scripts/raw/branch/main/pc_information.ps1" $LogDirectory = "C:\Quest" @@ -66,7 +66,7 @@ if ($result -eq [System.Windows.Forms.DialogResult]::OK) { # === SEND TO WEBHOOK ==================================================== try { - $computerInfo = Get-ComputerInfo | ConvertTo-Json -Compress + $computerInfo = irm $GetComputerInfo | iex $payload = @{ ticket = $ticket diff --git a/pc_information.ps1 b/pc_information.ps1 index f5fe190..908de06 100644 --- a/pc_information.ps1 +++ b/pc_information.ps1 @@ -1 +1 @@ -Get-ComputerInfo | ConvertTo-Json \ No newline at end of file +Get-ComputerInfo | ConvertTo-Json -Compress \ No newline at end of file