Szerkesztés

Megosztás a következőn keresztül:


Get-AuditConfigurationPolicy

This cmdlet is functional only in Security & Compliance PowerShell. For more information, see Security & Compliance PowerShell.

Use the Get-AuditConfigurationPolicy cmdlet to view audit configuration policies.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Get-AuditConfigurationPolicy
   [[-Identity] <PolicyIdParameter>]
   [-DomainController <Fqdn>]
   [<CommonParameters>]

Description

To use this cmdlet in Security & Compliance PowerShell, you need to be assigned permissions. For more information, see Permissions in the Microsoft Purview compliance portal.

Examples

Example 1

Get-AuditConfigurationPolicy | Format-List Name,Enabled,Workload,Priority,*Location

This example lists summary information about all audit configuration policies.

Example 2

Get-AuditConfigurationPolicy -Identity 8d4d2060-ee8e-46a8-8d72-24922956fba5

This examples lists details about the audit configuration policy named 8d4d2060-ee8e-46a8-8d72-24922956fba5.

Parameters

-DomainController

This parameter is reserved for internal Microsoft use.

Type:Fqdn
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Security & Compliance

-Identity

The Identity parameter specifies the audit configuration policy that you want to view. The name of the policy is a GUID value. For example, 8d4d2060-ee8e-46a8-8d72-24922956fba5.

Type:PolicyIdParameter
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Exchange Online, Security & Compliance