Showing results for 
Search instead for 
Did you mean: 
Create Post

Episode #86 - Orion SDK 101: Intro to PowerShell and Orion API

Community Manager

April 15, 2020

In this 100-level class, Kevin M. Sparenberg, Technical Content Manager for THWACK®, presents a simple introduction to the SolarWinds® Orion® Software Development Kit (SDK). Instructions include how to download the SDK, installing the PowerShell module, and performing basic read operations within the API. No previous PowerShell or Orion API experience is necessary. Kevin discusses when, how, and why to use the API. Be sure to register for the live cast because Kevin will be answering audience questions during the episode.

Additional Resources

PowerShell Basic Cheat Sheet:

The Curious Case of the "Dead" Nodes

Level 12

I missed this.

Bookmarking to comeback and listen to when more time allows as I absolutely need to get into this.

Community Manager
Community Manager

As long as you don't judge my loud typing, we'll call it even.

Level 12

Clacky keyboards are the best.

So, I'm running with the native Powershell ISE as we don't really want to install anything more. But we do have the SDK installed, so it has made the connection to SWIS.

So, in trying to understand better, I have just been trying to replicate your example but everytime I try to run the script (within PS) I get:

At line:18 char:1
+ FROM Orion.Nodes
+ ~~~~
The 'from' keyword is not supported in this version of the language.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ReservedKeywordNotAllowed


So presumably I'm missing something?

So I next tried (because I don't think you addressed this for Powershell in the vid) Preempting the query with $SwqlQuery = " insert query " and I get yet more errors.

Clearly I'm missing a step and perhaps I'd be better asking thos over in the OrionSDK forum...


Community Manager
Community Manager

Do me a favor and post your complete script in the Orion SDK area with whatever you have for edits.

Level 20

Nice big Microphone you've got there Kevin!

Level 12

Great SolarWinds Lab Kevin.