NAME
Get-DcsAlert
SYNOPSIS
Returns data for all alerts for all servers in the specified connection.
SYNTAX
Get-DcsAlert [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Returns data for all alerts for all servers in the specified connection.
PARAMETERS
- -Connection<String>
- Alias of the connection to the server group. If not specified, the default connection is used.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -PipelineVariable<String>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
OUTPUTS
LogMessageData : Object that identifies and describes the alert message.
NOTES
Also see Clear-DcsAlert, Get-DcsLogMessage, Add-DcsLogMessage.
EXAMPLES
-------------- Example 1 Returns alert data for the server group --------------
Get-DcsAlert
Returns data for all alerts on servers in the server group. In this case there were two alerts.
| Id | : | DataCore.Executive.LogMessageId |
| TimeStamp | : | 8/8/2011 6:56:41 PM |
| MachineName | : | SSV1 |
| Level | : | Warning |
| Visibility | : | Customer |
| HighPriority | : | True |
| NeedsAcknowledge | : | False |
| MessageText | : | CHECK THE EVENT LOG! A WARNING MESSAGE HAS BEEN RECEIVED. [Triggered by One-Time Scheduler: 8/8/2011 |
| 2 | : | 55:00 PM on 8/8/2011 2:55:00 PM] |
| MessageData | : | |
| UserId | : | |
| UserName | : | |
| Caller | : | MessageAction.DoRun |
| Sources | : | {f9b6dcc0-5c79-42be-ba39-6d44884cb08c} |
| Id | : | DataCore.Executive.LogMessageId |
| TimeStamp | : | 8/8/2011 6:50:50 PM |
| MachineName | : | SSV1 |
| Level | : | Error |
| Visibility | : | Customer |
| HighPriority | : | True |
| NeedsAcknowledge | : | False |
| MessageText | : | CHECK THE EVENT LOG! AN ERROR MESSAGE HAS BEEN RECEIVED. [Triggered by One-Time Scheduler: 8/8/2011 |
| 2 | : | 50:00 PM on 8/8/2011 2:50:00 PM] |
| MessageData | : | |
| UserId | : | |
| UserName | : | |
| Caller | : | MessageAction.DoRun |
| Sources | : | {f2163298-82f3-4b6e-a7d3-1b0e3fa0497c} |