Disable/Enable Certain Health Monitoring rules

Topics: Feature Requests
Oct 2, 2014 at 8:00 PM
It would be nice if you could iterate through a CSV and enable or disable certain rules that make sense.

A good example are the server based disk space items. They are not written very well but I cannot imagine there aren't others that might be good to change one way or another.

Using a CSV, you can build a file with the first one having a couple of column titles to ignore and then we can add them only if we want to do so. And it becomes a user maintainable item for those that use it.

These make it easy to do.
  • Get-SPHealthAnalysisRule
  • Enable-SPHealthAnalysisRule
  • Disable-SPHealthAnalysisRule
One reason this is important, is that some rules you can disable but you cannot clear them.