-
This commit is contained in:
parent
f86d3b7518
commit
7252ef245a
1 changed files with 5 additions and 4 deletions
|
|
@ -84,12 +84,13 @@ if ($result -eq [System.Windows.Forms.DialogResult]::OK) {
|
|||
# Set the $Name variable for the external script to use
|
||||
$Name = "QUEST-CLEANUP-$ticket-$randomChars-$dateStr"
|
||||
|
||||
# Webhook
|
||||
try {
|
||||
# Run scripts
|
||||
$CreateRestorePoint = irm $ScriptCreateRestorePoint | iex
|
||||
$GetComputerInfo = irm $ScriptGetComputerInfo | iex
|
||||
$GetInstalledAV = irm $ScriptGetInstalledAV | iex
|
||||
|
||||
# Webhook
|
||||
try {
|
||||
$payload = @{
|
||||
ticket = $ticket
|
||||
CreateRestorePoint = $CreateRestorePoint | ConvertFrom-Json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue