API User's Guide

Sample PowerShell scripts for Alloy Navigator administrator

Updated in 2022.2

This article introduces a collection of scripts that walks through a number of scenarios for working with Alloy Navigator via the API. You can also use these scripts to make sure that your API is configured properly and working as expected.

To execute a script, paste it in your PowerShell window, replace the placeholders with your actual parameters, and run.

NOTE: The scrips are written for the Evaluation sample database. This means that they use workflow actions from the default workflow and act on sample Alloy Navigator objects (tickets, computers. etc.) .

Listing objects

Obtaining object classification values

Running workflow actions

Obtaining information about objects

Listing object attachments

Working with object attachments