Partager via


Get-DlpPolicy

Retrieves a list of DLP policy objects.

Syntax

Get-DlpPolicy
   [-PolicyName <String>]
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

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

Examples

EXAMPLE 1

Get-DlpPolicy

Retrieves all policies in the 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

Get the specific policy by using policy name.

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