Shared Files for the Orion Platform
  • 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.
    • 7 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
    • 19 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
    • 13 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
    • 13 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
    • 10 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
    • 11 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
    • 9 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
    • 14 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
    • 10 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
    • 20 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
    • 64 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...
    • 77 downloads
    • 3 Dec 2021
  • Unmanage Nodes as part of Alert Action

    Purpose I have an alert that I send when devices have been offline for a long time which sends an email and then also Unmanages the node using this script. Additional Resources The Curious Case of the "Dead" Nodes - Product Blog Custom Properties Decommissioned_Date [datetime] on Nodes
    • 39 downloads
    • 1 Dec 2021
  • Get Web Pages for Monitored Entities

    This is a two-pronged script. The first way you can run it is "as-is" which means it'll connect to your Orion server and pull back the URL for any and all managed entities. (Truncated) Output from read-only: /Orion/View.aspx?NetObject=I:1247 /Orion/View.aspx?NetObject=AM:87 /Orion/View.aspx?NetObject=AM:1147 /Orion/View.aspx?NetObject=AM:785 /Orion/View.aspx?NetObject=AM:1135 /Orion/UDT/PortDetails.aspx?NetObject=UP:102 /Orion/NetPerfMon/ContainerDetails.aspx?NetObject=C:8 /Orion/NetPerfMon...
    • 26 downloads
    • 16 Nov 2021