external help file: AdminUI.PS.dll-Help.xml Module Name: ConfigurationManager ms.date: 08/20/2020 online version: schema: 2.0.0
Delete a Microsoft Defender Application Control policy from the site.
Remove-CMWdacSetting [-CMSettings] <CMSettings> [-Force] [-DisableWildcardHandling] [-ForceWildcardHandling]
[<CommonParameters>]
Delete a Microsoft Defender Application Control policy from the site. Use Get-CMWdacSetting to get an existing policy object.
This example gets an object by name and then removes it from the site.
Get-CMWdacSetting -Name "My App Control setting" | Remove-CMWdacSetting
Specify a Microsoft Defender Application Control policy object to remove. Use the Get-CMWdacSetting to get this object.
Type: CMSettings
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Run the command without asking for confirmation.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
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.
Windows Defender Application Control management with Configuration Manager