BRONZE PARTNER:
BRONZE PARTNER:
Industry News:

| |
 |
 |
 |
| Resolving OpsMgr 2007 Alerts From The Command Shell |
 |
|
|
By: Don Hite
Posted On: 2/14/2008
This article was Previously posted on Don Hite's Blog
Here you will find a OpsMgr 2007 Command Shell (PowerShell) script to resolve all “New” alerts.
PS1 Script:
Get-Alert | Where {$_.ResolutionState -EQ "New"} | Resolve-Alert
Note: You can also execute the Get-Alert cmdlet from the Command shell by entering Get-Alert and then from the PS Monitoring:\ServerName.DomainName.Com prompt type Ls or Dir to see all of the generated alerts.
|
 |
 |
 |
|
|