Using Powershell to Access the Duo Admin API

Has anyone had any luck getting powershell to work. with the API. The documenation is horrid and i don’t want to go through the hassle of the module that i found on github. If anyone has any scripts to connect to it with powershell, that would be awesmoe if you can share.

Thanks!

now Have you got the solution?

how do you call API with powershell?

May be old news by this point…however, after futzing around for a couple hours trying to get Powershell Invoke-RestMethod to work… (that encrypting passwod thing is a bear) I went for the GitHub module, and had it up and running in about 10 minutes.