SOLVED

Syntax-AttachmentSize

Iron Contributor

Hi All
i am using exchange hybrid environment, Office365 user has sent an email to another office365 user and one onprem user. The attachment size is 6MB but it got increased to 9MB with Encoding or encryption for onprem user i can check using the below syntax

 

Get-MailboxServer | Get-MessageTrackingLog -MessageSubject "TEST" -Sender clouduser1@contoso.com -Recipients onpremuser@mydomain.com -start "03/27/2019 00:00" -end "03/28/2019 23:59" |ft TimeStamp,Event ID,Source,Sender,Recipients,MessageSubject,TotalBytes -auto

 

What is the syntax to check on Cloud, i did try the below two syntaxes on Exchange online powershell module but it did not work

Get-MessageTrace -Sender clouduser1@mydomain.com -Recipient clouduser2@mydomain.com -start "03/27/2019 00:00" -end "03/28/2019 23:59" |ft TimeStamp,EventID,Source,Sender,Recipients,Subject
,TotalBytes -auto

Get-MessageTrace -Subject "TEST" -Sender clouduser1@mydomain.com -Recipient clouduser2@mydomain.com -start "03/27/2019 00:00" -end "03/28/2019 23:59" |ft TimeStamp,EventID,Source,Sender,Recipients,MessageSubject,TotalBytes -auto

1 Reply
best response confirmed by Roger Roger (Iron Contributor)
Solution

The size of attachments doesn't change, you don't need to check it in both On-Prem and ExO. Anyway, if you want to use the Get-MessageTrace data for that, the attribute to look at is called "Size".

1 best response

Accepted Solutions
best response confirmed by Roger Roger (Iron Contributor)
Solution

The size of attachments doesn't change, you don't need to check it in both On-Prem and ExO. Anyway, if you want to use the Get-MessageTrace data for that, the attribute to look at is called "Size".

View solution in original post