Remove-CMBlmSetting

Delete a BitLocker management policy setting object from the site.

Syntax

Remove-CMBlmSetting
      [-CMSettings] <CMSettings>
      [-Force]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [<CommonParameters>]

Description

Delete a BitLocker management policy setting object from the site. Use Get-CMBlmSetting to get an existing management policy.

Examples

Example 1

This example gets an object by name and then removes it from the site.

Get-CMBlmSetting -Name "My BitLocker setting" | Remove-CMBlmSetting

Parameters

-CMSettings

Specify a BitLocker management policy settings object to remove. Use the Get-CMBlmSetting to get this object.

Type:CMSettings
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force

Run the command without asking for confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.ConfigurationManagement.PowerShell.Cmdlets.EP.SimplifiedSettings.CMSettings

Outputs

System.Object