-
This commit is contained in:
parent
11ad432ec9
commit
70850fc7b8
1 changed files with 1 additions and 2 deletions
|
|
@ -81,8 +81,7 @@ if ($result -eq [System.Windows.Forms.DialogResult]::OK) {
|
||||||
|
|
||||||
$payload = @{
|
$payload = @{
|
||||||
ticket = $ticket
|
ticket = $ticket
|
||||||
remoteData = $remoteData
|
computerInfo = $computerInfo
|
||||||
computerInfo = $computerInfo | ConvertFrom-Json
|
|
||||||
} | ConvertTo-Json -Compress
|
} | ConvertTo-Json -Compress
|
||||||
|
|
||||||
$response = Invoke-RestMethod -Uri $WebhookURL -Method Post `
|
$response = Invoke-RestMethod -Uri $WebhookURL -Method Post `
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue