-
This commit is contained in:
parent
b024a17154
commit
eda39def22
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Get-ComputerInfo | ConvertTo-Json
|
||||
Get-ComputerInfo | ConvertTo-Json -Compress
|
||||
Loading…
Add table
Add a link
Reference in a new issue