< Back

Get-AdminDlpPolicy

Sat Jan 18, 2020 3:45 pm

NAME Get-AdminDlpPolicy



SYNOPSIS

Retrieves api 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

Get-AdminDlpPolicy cmdlet gets policy objects for the logged in admin's tenant.

Use Get-Help Get-AdminDlpPolicy -Examples for more detail.





PARAMETERS

-Filter <String>



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-PolicyName <String>

Retrieves the policy with the input name (identifier).



Required? false

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-CreatedBy <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ApiVersion <Object>

Specifies the Api version that is called.



Required? false

Position? named

Default value 2016-11-01

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-AdminDlpPolicy



Retrieves all policies in the tenant.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-AdminDlpPolicy -PolicyName 78d6c98c-aaa0-4b2b-91c3-83d211754d8a



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











RELATED LINKS