Share via


OpsMgr SP1 - Removing instances for which discovery is disabled

One of the issues that we saw in OpsMgr RTM is that if you disabled a discovery using an override let say a particular SQL DB, the instance created by this discovery would not be removed. In SP1 we have added a new cmdlet to force the removal of instances for which discovery is disabled using an override. The cmdlet name is Remove-DisabledMonitoringObject. All you need to do to remove the instances is open up the OpsMgr command shell and run this cmdlet. The cmdlet does not have any parameters. Keep in mind that this cmdlet is only available in SP1 RC.

Comments

  • Anonymous
    November 20, 2007
    PingBack from http://www.systemcenterforum.org/features-in-sp1-rc-for-operations-manager-2007-you-need-to-know-about-part-1/
  • Anonymous
    November 26, 2007
    Just to clarify - this is a Management Group wide cmdlet that will affect every object discovery override in the management group? This is not a problem, just wanted to clarify that if I override discovery (disable) for a SQL discovery and perhaps an AD client discovery, I only need to run the cmdlet once and that there is no way to target a specific object discovery?ThanksGraham
  • Anonymous
    November 26, 2007
    The above comment is correct. This cmdlet does not take any parameters so it will delete all objects in the management group for which discovery is disabled using an override. You only need to run it once and it will look at all discoveries for which there is a disable override.
  • Anonymous
    March 05, 2008
    Is there a cmdlet to rollback this script or will removing the override on the discovery allow the object to be discovered again at the next discovery interval?ThanksGraham
  • Anonymous
    March 06, 2008
    The comment has been removed
  • Anonymous
    April 07, 2008
    The comment has been removed