Share via


Get-AdminDlpPolicy

Retrieves DLP policy objects and provides the option to print out the connectors in each data group.

Syntax

Name (Default)

Get-AdminDlpPolicy
    [[-PolicyName] <String>]
    [-CreatedBy <String>]
    [-ApiVersion <Object>]
    [<CommonParameters>]

Filter

Get-AdminDlpPolicy
    [[-Filter] <String>]
    [[-PolicyName] <String>]
    [-CreatedBy <String>]
    [-ApiVersion <Object>]
    [<CommonParameters>]

Description

The Get-AdminDlpPolicy cmdlet gets DLP policy objects for the logged in admin's tenant. Use Get-Help Get-AdminDlpPolicy -Examples for more detail.

Examples

EXAMPLE 1

Get-AdminDlpPolicy

Retrieves all DLP policies in the tenant.

EXAMPLE 2

Get-AdminDlpPolicy -PolicyName 78d6c98c-aaa0-4b2b-91c3-83d211754d8a

Retrieves details on the policy 78d6c98c-aaa0-4b2b-91c3-83d211754d8a.

Parameters

-ApiVersion

Specifies the Api version that is called.

Parameter properties

Type:Object
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

-CreatedBy

Limit the policies returned to those created by the specified user.

Parameter properties

Type:String
Default value:None
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

-Filter

Filters the results by available parameters.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Filter
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-PolicyName

Retrieves the policy with the specified policy ID.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:False
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.