fbpx Manage Alerts | Windows PowerShell, Windows Server | HostingUltraso.com
24/7/365 Support

Manage Alerts

Problem

You want to retrieve and manage alerts in the current monitoring object.

Solution

To retrieve alerts on the current monitoring object, use the GetAlert cmdlet. To retrieve only active alerts, apply a filter to include only those with a ResolutionState of 0.

>GetAlert | WhereObject { $_.ResolutionState eq 0 } | SelectObject Description

Description

The process started at 2:15:56 AM failed to create System.Discovery.Data, no error The process started at 2:05:23 PM failed to create System.Discovery.Data. Errors MSExchangeIS service is stopped. This may be caused by missing patch KB 915786. The computer Ibiza.contoso.com was not pingable. The computer Sydney.contoso.com was not pingable.

To resolve an alert, pipe it to the ResolveAlert cmdlet. For example, to clean up the alert entries in bulk:

GetAlert | WhereObject { $_.ResolutionState eq 0 } | ResolveAlert

Discussion

For more information about the GetAlert cmdlet, type GetHelp GetAlert. For more information about the ResolveAlert cmdlet, type GetHelp ResolveAlert.

Help Category:

Get Windows Dedicated Server

Only reading will not help you, you have to practice it! So get it now.

Processor RAM Storage Server Detail
Intel Atom C2350 1.7 GHz 2c/2t 4 GB DDR3 1× 1 TB (HDD SATA) Configure Server
Intel Atom C2350 1.7 GHz 2c/2t 4 GB DDR3 1× 128 GB (SSD SATA) Configure Server
Intel Atom C2750 2.4 GHz 8c/8t 8 GB DDR3 1× 1 TB (HDD SATA) Configure Server
Intel Xeon E3-1230 v2 3.3 GHz 4c/8t 16 GB DDR3 1× 256 GB (SSD SATA) Configure Server
Intel Atom C2350 1.7 GHz 2c/2t 4 GB DDR3 1× 250 GB (SSD SATA) Configure Server

What Our Clients Say