Was curious if anyone had script samples or examples of using Powershell and restful posts with the SIEM? Have been using on the Python side (extremely helpful, THANKS ANDY!), but interested in toying around with powershell to tie in to some existing Powershell scripts we have. I have been getting TLS errors or "The underlying connection was closed" issues. POSH 5 on Windows 7, but similar issues on Server 2012 R2. Thanks in advance!
Voila, my first PowerShell script, ever. I expect it's about as elegant as anyone's first anything, but it does work for both versions 9 and 10.
I suspect the answer to your question might be in the first line:
[Net.ServicePointManager]:ecurityProtocol = [Net.SecurityProtocolType]::Tls12