Enable-WssAlert
Enables an alert.
Enable-WssAlert
[-FeatureName] <String>
[-HealthDefinitionName] <String>
[[-MachineName] <String>]
[<CommonParameters>]
Enable-WssAlert
[-Alert] <Alert>
[<CommonParameters>]
The Enable-WssAlert cmdlet enables an alert that you have disabled or ignored. Specify an alert object or specify the feature and health definition file associated with an alert.
PS C:\> Enable-WssAlert -FeatureName "MicrosoftServicing" -HealthDefinitionName "MUOptIn"
This command enables 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: | 0 |
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: | 0 |
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: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of a computer.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
System.String,System.String