This commit is contained in:
Joeri 2026-02-20 15:24:51 +01:00
parent b6fc0ac48f
commit 52ca99bf24

View file

@ -76,13 +76,13 @@ if ($result -eq [System.Windows.Forms.DialogResult]::OK) {
exit exit
} }
# Run scripts
$CreateRestorePoint = irm $ScriptCreateRestorePoint | iex
$GetComputerInfo = irm $ScriptGetComputerInfo | iex
$GetInstalledAV = irm $ScriptGetInstalledAV | iex
# Send webhook # Send webhook
try { try {
# Run scripts
$CreateRestorePoint = irm $ScriptCreateRestorePoint | iex
$GetComputerInfo = irm $ScriptGetComputerInfo | iex
$GetInstalledAV = irm $ScriptGetInstalledAV | iex
$payload = @{ $payload = @{
ticket = $ticket ticket = $ticket
$CreateRestorePoint = $CreateRestorePoint | ConvertFrom-Json $CreateRestorePoint = $CreateRestorePoint | ConvertFrom-Json