Powershell

Using a script to automatically reset monitor state when alert is closed

A powershell script that can help you reduce “monitoring noise” created by the “manual reset” monitors. The script is intended to be used as an alert notification command. The notification channel should be configured to pass alert ID as an argument to the script and corresponding notification subscription must include _closed_ alerts of warning and error severity. Once the script […]

A powershell script for resetting state of “manual reset” monitors

The script iterates through the state hierarchy of each monitoring object in the management group and resets all “manual reset” monitors that have been in “Error” or “Warning” state longer than the specified max period for time in state. The script is intended to run as a scheduled task. There are two variables that need […]

AD Integration for Large Environments in System Center OpsMgr 2007 (PowerPoint)

This is a PowerPoint presentation on “AD Integration for Large Environments in System Center OpsMgr 2007”,  presented by Pete Zerger at the System Center Solutions Summit in Kuala Lumpur, Malaysia.  Related Resources:  Documents and Scripts Whitepaper: Active Directory Integration in Ops Mgrs 2007 Blog: How to Schedule OpsMgr Discovery and Agent Deployment without AD Integration […]

PowerShell 2-State-Monitor Sample

This is the MP to the step-by-step guide I released over the last two weeks: How to create a Two-State PowerShell Script Monitor using the Authoring Console (Part 1) http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/44971/Default.aspx How to create a Two-State PowerShell Script Monitor using the Authoring Console (Part 2) http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/46908/Default.aspx How to create a Two-State PowerShell Script Monitor using the […]

Put any object type in maintenance mode in OpsMgr using Powershell

In OpsMgr, sometimes you may not wish to put the whole computer into maintenance mode. Instead you may wish to put just a number of databases or websites into maintenance mode. This script by Boris Yanushpolsky provides means to put any object into maintenance mode, regardless of class. Click the link at right to visit […]

Set Primary and Failover Mgmt Server Powershell Script for OpsMgr 2007

This sample script illustrates how to retrieve a list of agents based on a common search element, and then loop through these agents, updating the settings on each. Update setting as instructed in comments, then save with a .ps1 file. The script can be run on any computer with the Operations Console / Command Shell interfaces loaded. Originally published in this blog post…just […]