Remove-DlpPolicy

Deletes the specific DLP policy by policy name.

Syntax

Remove-DlpPolicy
      -PolicyName <Object>
      [-ApiVersion <String>]
      [<CommonParameters>]

Description

The Remove-DlpPolicy cmdlet deletes a DLP policy. Use Get-Help Remove-DlpPolicy -Examples for more detail.

Examples

EXAMPLE 1

Remove-DlpPolicy -PolicyName "test policy"

Deletes the policy named "test policy" from tenant.

Parameters

-ApiVersion

Specifies the Api version that is called.

Type:String
Position:Named
Default value:2016-11-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PolicyName

The policy specified with PolicyName will be deleted.

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