14 Kasım 2015 Cumartesi

SCOM 2012 R2 Test Event MP

MP and scripts to test that SCOM internal monitoring is working.
Zip file contains:
—Management Pack
—VBS Event Script
—Scheduled Task
DOWNLOAD Link: SCOM.Test.MP

Ref: ScomGod

PowerShell Script to Update Alert Resolution

I use this to regenerate reminder alerts for certain alerts. This script will trigger for alerts with “Disk” in the name.
$MS = “yourRMS.yourCO.com”
$connect = New-SCOMManagementGroupConnection –ComputerName $MS
Get-SCOMAlert -criteria ‘ResolutionState = “0” AND Severity = “2”‘ |
Where-Object {$_.Name -like “*disk*” -and $_.IsMonitorAlert -eq $true} |
Set-SCOMAlert -ResolutionState 0 |
out-null