-
This commit is contained in:
parent
b6fc0ac48f
commit
52ca99bf24
1 changed files with 5 additions and 5 deletions
|
|
@ -76,13 +76,13 @@ if ($result -eq [System.Windows.Forms.DialogResult]::OK) {
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Send webhook
|
||||||
|
try {
|
||||||
# Run scripts
|
# Run scripts
|
||||||
$CreateRestorePoint = irm $ScriptCreateRestorePoint | iex
|
$CreateRestorePoint = irm $ScriptCreateRestorePoint | iex
|
||||||
$GetComputerInfo = irm $ScriptGetComputerInfo | iex
|
$GetComputerInfo = irm $ScriptGetComputerInfo | iex
|
||||||
$GetInstalledAV = irm $ScriptGetInstalledAV | iex
|
$GetInstalledAV = irm $ScriptGetInstalledAV | iex
|
||||||
|
|
||||||
# Send webhook
|
|
||||||
try {
|
|
||||||
$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