Commit 061ebd11 authored by mseng3's avatar mseng3
Browse files

Update post-to-slack.ps1

parent be1aa20f
......@@ -52,7 +52,7 @@ Write-Output "$body"
# https://www.reddit.com/r/PowerShell/comments/7zr0yu/invokewebrequest_windows_powershell_51_is_scaring/
# https://github.com/RamblingCookieMonster/PSSlack/blob/master/PSSlack/PSSlack.psm1
#[Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls"
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
#[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
# Send REST call
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-5.1
......
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