SolarWinds SWIS API Cheat Sheet by ernest
SolarWinds exposes Information Service (SWIS) to customers. The service is accessible from PowerShell and this cheat sheet aims to simplify using it.
Information within this cheat sheet is based on SolarWinds Orion SDK 1.5.
development solarwinds powershell swql
Query SWIS with PowerShell
The Invoke-SwisVerb cmdlet argument lists support XmlElement objects from Orion SDK 1.5. If your scripts rely on the original behavior, update them to use the InnerText property of the returned element.
Installing SWIS PowerShell
If you installed the Orion SDK to a different folder, adjust the path to SwisPowerShell.dll accordingly.
The same DLL works in both 32- and 64-bit shells, but you have to register it separately for each context.
Don't forget that you need to run the Powershell as Administrator.
SWQL supported constructs
SWQL - NOT SUPPORTED
You must use CRUD operations to create, read, update, or delete entities.
Download the SolarWinds SWIS API Cheat Sheet
Share This Cheat Sheet!
Your Download Will Begin Automatically in 5 Seconds.