Ad Widget

Collapse

API Powershell Script (7.2.x and later)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PhoenixC46
    Junior Member
    • Apr 2025
    • 1

    #1

    API Powershell Script (7.2.x and later)

    After many frustrating hours searching the internet for working examples of the API using PowerShell, and only finding old versions that no longer work, I’ve made one from scratch: https://github.com/PhoenixC46/PSZabbix
    The readme file has all the instructions needed to get up and running with just your hostname and API token.
    The only functions included are for GET but it wouldn't take much to add some POST functions in if you wanted to.

    My PS knowledge is fairly basic but the code works and is tidy-ish, so if anyone has any improvements please create a fork and i can add it to the main branch. I'm only publishing this to help other newbies who have the same problem of trying to get the authentication working and getting nowhere
Working...