description | Download Help Link | external help file | Locale | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|---|---|---|
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. |
Microsoft.SystemInsights.Management.PowerShell.dll-help.xml |
en-US |
SystemInsights |
06/18/2018 |
2.0.0 |
Remove-InsightsCapabilityAction |
Removes the action(s) associated with a capability.
Remove-InsightsCapabilityAction [-Name] <String> [-AllActions] [[-ComputerName] <String>]
[-Credential <PSCredential>] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-InsightsCapabilityAction [-Name] <String> [-Type] <PredictionStatus> [[-ComputerName] <String>]
[-Credential <PSCredential>] [-WhatIf] [-Confirm] [<CommonParameters>]
The Remove-InsightsCapabilityAction cmdlet removes the action(s) associated with a capability.
Important
Some information relates to prereleased product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
PS C:\> Remove-InsightsCapabilityAction -Name "CPU capacity forecasting" -Type OK, Warning
This example removes the OK and Warning actions for the CPU capacity forecasting capability.
PS C:\> Remove-InsightsCapabilityAction -Name "CPU capacity forecasting" -AllActions
This example removes all actions for the CPU capacity forecasting capability.
Removes all actions associated with a capability.
Type: SwitchParameter
Parameter Sets: AllActions
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a fully qualified domain name (FQDN). If not specified, uses the local computer.
Type: String
Parameter Sets: (All)
Aliases: CN
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the credential for accessing the computer specified by the -ComputerName parameter.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a capability using a capability name.
Type: String
Parameter Sets: (All)
Aliases: N
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Specifies the prediction status of the capability. If the capability outputs this status, the action associated with this status will be automatically invoked.
Type: PredictionStatus
Parameter Sets: ByActionType
Aliases:
Accepted values: None, Ok, Warning, Error, Critical
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
You can use the pipeline operator to pass a capability object to the Name parameter.