CmdID / PowerShell / Cmdlets / Export
Export-MailboxDiagnosticLogs
Use the Export-MailboxDiagnosticLogs cmdlet to export diagnostic data from user and system mailboxes in your organization. Exchange PowerShell reference
From the Exchange PowerShell reference 11 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies that mailbox that contains the diagnostics logs that you want to view.-ComponentNameThe ComponentName parameter specifies the component that you want to retrieve the diagnostic logs for.-ExtendedPropertiesThe ExtendedProperties switch specifies whether to retrieve all of the well-known properties from the mailbox table that are useful for troubleshooting.-ArchiveThe Archive switch retrieves the diagnostics logs of the archive mailbox instead of the primary mailbox.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-CredentialThe Credential parameter specifies the username and password that's used to run this command.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-IncludeInactiveMailboxesThe IncludeInactiveMailboxes switch specifies whether to include inactive mailboxes in the results.-ReadFromDomainControllerThe ReadFromDomainController switch specifies that information should be read from a domain controller in the user's domain.-ResultSizeThe ResultSize parameter specifies the maximum number of results to return.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.