Unmanage/remanage or mute/resume an item or all items in a group
The attached Powershell script will unmanage/remanage/suppress/resume alerts for either a single node or for all members of a Solarwinds group, regardless of the kind of objects the group contains (Nodes, Applications, Transaction, etc.). If the group includes sub-groups, the script will recursively handle them. Credentials can be provided on the command line or in a credentials file created with Export-Clixml. The credentials file is useful if you plan to use this script with the Windows Task Scheduler and you don't want to include a username and password on the command line.
This script has been substantially revised from its previous version. Changes include:
Script supports suppress/reset (aka mute/unmute) of alerts in addition to unmanage/remanage.
Script can be run against a single node or against a group
Run from Windows Task Scheduler
To run this script from the Windows task scheduler without including the username and password on the command line follow the steps below:
Log in to the Task Scheduler server as the user under whose name the task will run.
Start the Powershell IDE and execute the command below to create the encrypted credentials file: Get-Credential | Export-Clixml -Path [full path to file]
Start the Task Scheduler and create a task to run the script. Open the properties.
In the "Actions" tab, make sure that the script is configured to use the -credstore argument with the full path to the credentials file from step 2.
In the "General" tab, configure the task to run as the user you logged in as in step 1.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community.
More than 150,000 members are here to solve problems, share technology and best practices, and directly
contribute to our product development process.
Learn more today by joining now.