Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a send..
my first time here, hello everyone 🙂
i am reaching out to the community to get help on the following powershell syntax that is causing me a sight headache. i just want to get very basic information and take it from there but getting some errors. i have used snippets found from here: https://github.com/ronfowler/merakiapi
I don't see anything immediately obvious. Is it throwing a specific error? Have you tried using Postman, it is free and helps design your queries and see responses a little more easily. You can also export queries in different code formats like Python etc...
Adam R MS | CISSP, CISM, VCP, MCITP, CCNP, ITILv3, CMNO If this was helpful click the Kudo button below If my reply solved your issue, please mark it as a solution.
You're not wrong. My preference would be to start at the strongest cipher first and iterate it's way down to the weakest. I found a blog post or two regarding ways to work the snippet I posted above into the local PS profile itself, but when you have automation servers that are changing frequently, or ones that you don't manage, it's a real pain to mess with that.