Commit 8c69a821 authored by mseng3's avatar mseng3
Browse files

Update post-to-slack.ps1

parent e1d28899
......@@ -57,11 +57,6 @@ Write-Output "$body"
# Send REST call
#Invoke-WebRequest -Body (ConvertTo-Json -Compress -InputObject $payload) -UseBasicParsing -Method Post -Uri $webhook
Invoke-WebRequest `
-Body $body `
-UseBasicParsing `
-Method Post `
-Uri $webhook
Invoke-WebRequest -Body $body -UseBasicParsing -Method Post -Uri $webhook
Write-Output "-----------------"
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment