Using PowerShell to Query ABR

Introduction

The Admin By Request API allows you to get the necessary data into your preferred SIEM system. This blog covers how to test functionality and get data from Admin By Request using Windows PowerShell.

In order to use Invoke-RestMethods cmdlets used during this task, you need to be running Windows PowerShell version 3.0 or higher.

Procedure

There are five tasks involved:

Voila! You have now successfully used Windows PowerShell to get inventory and auditlog data written to screen or file.

Acknowledgment

This procedure was created with the assistance of Mads Christian Mozart Johansen.