CmdID

CmdID / PowerShell / Cmdlets / New

New-MailboxAuditLogSearch

Use the New-MailboxAuditLogSearch cmdlet to search mailbox audit logs and have search results sent via email to specified recipients. Exchange PowerShell reference

From the Exchange PowerShell reference 14 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

14 in the Exchange PowerShell reference
-EndDateThe EndDate parameter specifies the end date of the date range.
-StartDateThe StartDate parameter specifies the start date of the date range.
-StatusMailRecipientsThe StatusMailRecipients parameter specifies the email address where the search results are sent.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.
-ExternalAccessThe ExternalAccess parameter specifies whether to return only audit log entries for mailbox access by users that are outside of your organization.
-GroupMailboxThe GroupMailbox switch is required to include Microsoft 365 Groups in the search.
-HasAttachmentsThe HasAttachments parameter filters the search by messages that have attachments.
-LogonTypesThe LogonTypes parameter specifies the type of logons.
-MailboxesThe Mailboxes parameter specifies the mailbox to retrieve mailbox audit log entries from.
-NameThe Name parameter specifies a name for the search.
-OperationsThe Operations parameter filters the search results by the operations that are logged by mailbox audit logging.
-ShowDetailsThe ShowDetails switch specifies that details of each log entry are retrieved.
-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.