Remove-DlpPolicy
Deletes the specific DLP policy by policy name.
Syntax
Default (Default)
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.
Parameter properties
Type: | String |
Default value: | 2016-11-01 |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-PolicyName
The policy specified with PolicyName
will be deleted.
Parameter properties
Type: | Object |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.