8 years ago
Rest API and Powershell
So I have had pretty good luck converting the Python examples to Powershell.
The one thing I can not figure out how to do is return volume usage for a specific host.
Anyone got any example ...
Hi @Cole McDonald -
Have you seen our PowerShell examples here: https://www.logicmonitor.com/support/rest-api-developers-guide/v1/rest-api-v1-examples/? You may need to add a line to use TLS 1.2:
<# Use TLS 1.2 #>
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Let us know if that doesn't fix it!
Thanks,
Sarah