-
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
|
# Set the $Name variable for the external script to use
|
||||||
$Name = "QUEST-CLEANUP-$ticket-$randomChars-$dateStr"
|
$Name = "QUEST-CLEANUP-$ticket-$randomChars-$dateStr"
|
||||||
|
|
||||||
|
# Run scripts
|
||||||
|
$CreateRestorePoint = irm $ScriptCreateRestorePoint | iex
|
||||||
|
$GetComputerInfo = irm $ScriptGetComputerInfo | iex
|
||||||
|
$GetInstalledAV = irm $ScriptGetInstalledAV | iex
|
||||||
|
|
||||||
# Webhook
|
# Webhook
|
||||||
try {
|
try {
|
||||||
$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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue