共用方式為


Get-AdminDlpPolicy

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

Syntax

Get-AdminDlpPolicy
   [[-PolicyName] <String>]
   [-CreatedBy <String>]
   [-ApiVersion <Object>]
   [<CommonParameters>]
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.

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

-CreatedBy

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

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

-Filter

Filters the results by available parameters.

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

-PolicyName

Retrieves the policy with the specified policy ID.

Type:String
Position:2
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False