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

Update post-to-slack.ps1

parent e1d28899
...@@ -57,11 +57,6 @@ Write-Output "$body" ...@@ -57,11 +57,6 @@ Write-Output "$body"
# Send REST call # Send REST call
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-5.1 # https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-5.1
#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 "-----------------" 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