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.