Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2012-11-30
Use the Get-MailboxAuditByapssAssociation cmdlet to retrieve user or computer account associations. This lets you see the status of all accounts, including those that are configured to bypass audit logging.
Syntax
Get-MailboxAuditBypassAssociation [-Identity
<MailboxAuditBypassAssociationIdParameter>]
[-DomainController <Fqdn>] [-Organization
<OrganizationIdParameter>] [-ResultSize
<Unlimited>]
|
Detailed Description
When you configure a user or computer account to bypass mailbox audit logging, access or actions taken by the user or computer account to any mailbox isn't logged. By bypassing trusted user or computer accounts that need to access mailboxes frequently, you can reduce the noise in mailbox audit logs.
You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Mailbox audit logging" entry in the Messaging Policy and Compliance Permissions topic.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory. |
Identity |
Optional |
Microsoft.Exchange.Configuration.Tasks.MailboxAuditBypassAssociationIdParameter |
The Identity parameter specifies a user or computer account to retrieve audit logging bypass association for. |
Organization |
Optional |
Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter |
This parameter is available for multi-tenant deployments. It isn't available for on-premises deployments. For more information about multi-tenant deployments, see Multi-Tenant Support. The Organization parameter specifies the organization in which you'll perform this action. This parameter doesn't accept wildcard characters, and you must use the exact name of the organization. |
ResultSize |
Optional |
Microsoft.Exchange.Data.Unlimited |
The ResultSize parameter specifies the maximum number of
results to return. If you want to return all mailboxes that match
the query, use |
Input Types
To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.
Return Types
To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.
Examples
EXAMPLE 1
This example retrieves all user or computer accounts configured for mailbox audit logging bypass.
Copy Code | |
---|---|
Get-MailboxAuditBypassAssociation -ResultSize unlimited | ? {$_.AuditBypassEnabled -eq $True} |
EXAMPLE 2
This example retrieves the mailbox audit bypass association for the Svc-MyApplication account.
Copy Code | |
---|---|
Get-MailboxAuditBypassAssociation -Identity "Svc-MyApplication" |