Shared Files for the Orion Platform
  • Register Passive Agents to SolarWinds Platform

    This script will register a passive agent, then scan for resources, and automatically import the resources. You'll need the following information for registering an agent (outlined within the script as well): Agent Name Agent Hostname Agent IP Address Agent Port Polling Engine ID Shared Secret Proxy ID Auto Update Enabled Tested with SolarWinds Platform 2022.2.0 and agent 2022.2.0.1952. Currently only tested on a Windows agent as a target, but there's no reason it should...
    • 4 downloads
    • 6 Jul 2022
  • Acknowledge Solarwinds alert by email with oAuth and Azure AD

    Updated 2022-07-05 to use oAuth (modern authentication) and to require the AlertObjectID in the message body. If you have been using an older version of this script, please read the documentation again, as there have been several changes since the previous version. This Powershell script allows end users to acknowledge or comment upon a Solarwinds alert via email. The script assumes that your organization uses Exchange and Azure AD as its email platform. Prerequisites: An email account ...
    • 0 downloads
    • 5 Jul 2022
  • Update Node Captions to match polled Sysname value.

    This script will go through and update node captions to match the polled sysname value. Useful when devices get renamed and you don't want to manually update the captions to match the new device name.
    • 10 downloads
    • 10 Mar 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Acknowledge Alert

    Simple PowerShell example that calls a verb to acknowledge and add a note to an alert. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 26 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Add Alert Note

    Simple PowerShell function that adds a note to an existing alert. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 12 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Update Node Custom Properties

    Simple PowerShell script that updates custom properties based on node caption. Provides a better example of how the Set-SwisObject function works with hashtables. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 17 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Import Modern Dashboard [Better]

    Uses a published file from GitHub to build a function to import Modern Dashboards. See Import Modern Dashboard for a more rudimentary solution. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 19 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Export Modern Dashboard [Better]

    Uses a published file from GitHub to build a function to export Modern Dashboards. See Export Modern Dashboard for a more rudimentary solution. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 14 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Import Modern Dashboard

    Simple PowerShell function to import Modern Dashboard definitions from the file system. See Import Modern Dashboard [Better] for another way. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 11 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Export Modern Dashboard

    Simple PowerShell function that exports Modern Dashboard definitions to the file system. See Export Modern Dashboard [Better] for a easier to use option. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 9 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Import Alert

    Simple PowerShell function to import an alert definition from the file system. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 11 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Export Alerts

    Simple PowerShell script to export alerts to the file system using the [xml] cast and the Save method. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 12 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Set Interface to Unpluggable

    Simple PowerShell script using the Set-SwisObject function to convert specific interfaces to "unpluggable" (as opposed to being reported as "down"). Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 10 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Update Polling Cycle

    Simple script using the Set-SwisObject PowerShell function to update node properties (or a single property in this case). Takes any nodes whose response time is over 80ms and bumps its polling frequency by 50%. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 9 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Mute Node

    If you want to bulk mute nodes Change the query in line 16 to match your selection criteria. Change the mute start date on line 25 Change the mute end date on line 26 You can also change the query to pull the URIs for Interfaces, Applications, Volumes, or Groups. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 15 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Unmanage Node

    Update lines 17-20 with the identifying information for the node you wish to Unmanage. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 11 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Authenticate

    Update the Orion Server (IP or DNS name) for your hostname in Line 1. THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 26 downloads
    • 23 Feb 2022
  • SCM "Fix-fim"

    I run into the FIM driver failing to work often enough I got tired of manually logging in and fixing things as described in "https://support.solarwinds.com/SuccessCenter/s/article/FIM-driver-not-working-properly-in-SCM?language=en_US" so I automated the process. You should be able to run this from any server without actually logging into the offending node. (you may need admin permissions) The script does not use the API (and sorry for lack of comments). I have used the function inside another...
    • 24 downloads
    • 14 Dec 2021
  • Some Functions for Working with Custom Properties

    PowerShell Script file includes the functions and some sample executions. Inspired by THWACKcamp 2018: There's an API for That
    • 69 downloads
    • 3 Dec 2021
  • Remove Domain and Capitalize Node Captions

    This is a simple learning script which shows several steps in logically thinking about scripting and how to interface with the Orion API. Description When executed, this script will get all nodes registered via WMI, SNMP, or Agent. For each of them it will strip off the domain name and capitalize everything that's left and then update the Orion node to use that caption name. Custom Properties Required None Script Details Lines 8 - 10 : Builds your connection to the SolarWinds...
    • 91 downloads
    • 3 Dec 2021