Repair-WssAlert
Repairs an alert.
Repair-WssAlert
[-FeatureName] <String>
[-HealthDefinitionName] <String>
[[-MachineName] <String>]
Repair-WssAlert
[-Alert] <Alert>
The Repair-WssAlert cmdlet runs the repair task for an alert. Specify an alert object or specify the feature and health definition file associated with the alert.
PS C:\> Repair-WssAlert -FeatureName "MicrosoftServicing" -HealthDefinitionName "MUOptIn"
This command runs the repair task for the alert associated with the feature named MicrosoftServicing and the health definition named MUOptIn.
Specifies a WssAlert object. To obtain a WssAlert object, use the Get-WssAlert cmdlet.
Type: | Alert |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the name of the feature associated with the alert.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of the health definition associated with the alert.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of the computer on which the server generated the alert.
Type: | String |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |