HOW-TO Query FireScope Stratis REST API via Powershell

FireScope Stratis has a rather extensive REST API that provides mostly for programmatic create/update/delete of CIs, Attributes, Visual Controls, EDs, AEDs, Policies, Notifications, Maintenance Windows, UECs, ESBs. We can also provide search information to end users for their own needs.

We've written some scripts that show as an example of how to make a rest request via powershell that can return config info from Stratis

There are 3 scripts :
attrsPerCI.ps1 : This will ask you for your Stratis appserver IP, Username, Password, Edge device name, account name, CI Name, and a filename to save the csv to.
After you correctly provide the prompted data, you'll get a resulting csv file that has all attributes on that CI.

cisAndAttrsPerEdge.ps1 : This will ask you for your Stratis appserver IP, Username, Password, Edge device name, account name, and a filename to save the csv to.
After you correctly provide the prompted data, you'll get a resulting csv file that has all CIs and those CIs' attributes on the Edge Device specified.

cisPerEdge,ps1 : This will ask you for your Stratis appserver IP, Username, Password, Edge device name, account name, and a filename to save the csv to.
After you correctly provide the prompted data, you'll get a resulting csv file that has all CIs on the Edge Device specified.

 

Please download THIS FILE that contains the 3 example scripts described.