NAME
Clear-DcsAlert
SYNOPSIS
Deletes all alerts for all servers in the specified connection.
SYNTAX
Clear-DcsAlert [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Deletes all alerts for all servers in the specified connection. After clearing the alerts, the event log messages will remain documented in the Event Log.
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
NOTES
Also see Get-DcsAlert, Get-DcsLogMessage, Add-DcsLogMessage.
EXAMPLES
-------------- Example 1 Clears all alerts for a server group --------------
Clear-DcsAlert
Clears all alerts on both servers in the server group.