Funny 'Export-Mailbox' behaviour

I'm using Export-Mailbox to export some data into PST in various occasions, like when the user is leaving or to slim some users mailboxes.
I noticed something strange recently.
When I run the same command with same parameters, I get different PST sizes !
I was exporting 'Inbox' contents for a specific month for one user, I did it 3 times, and 3 times the file size was different.

When I attached the PSTs to outlook, I've got the same number of items, I checked few attachments and it all looked fine.

I don't remember exactly what the file sizes were so lets assume 1st was 1GB, 2nd was 2GB and 3rd was 3GB.

I thought that the size difference would be just empty space so I compressed the 2nd one and to my surprise, after compression the file was still bigger than a 1st one.

Can someone try to explain me that behavior ?

Thanks
LVL 1
tp-it-teamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Will SzymkowskiSenior Solution ArchitectCommented:
When a typical export is completed it gives a detailed list of all of the items that were exported. When you export the same mailbox different times do these reports match up? Also are there any flags to skip corrupted mailbox items?

Will.
0
tp-it-teamAuthor Commented:
Well, not really, there is no detailed report. Here is what I get (I skipped first few lines which tell server name, user, location in the AD etc).

SourceGlobalCatalog              : DC
SourceDomainController           :
TargetGlobalCatalog              : DC
TargetDomainController           :
TargetMailbox                    :
TargetServer                     :
TargetDatabase                   :
MailboxSize                      : 5488339KB
IsResourceMailbox                : False
SIDUsedInMatch                   :
SMTPProxies                      :
SourceManager                    :
SourceDirectReports              :
SourcePublicDelegates            :
SourcePublicDelegatesBL          :
SourceAltRecipient               :
SourceAltRecipientBL             :
SourceDeliverAndRedirect         :
MatchedTargetNTAccountDN         :
IsMatchedNTAccountMailboxEnabled :
MatchedContactsDNList            :
TargetNTAccountDNToCreate        :
TargetManager                    :
TargetDirectReports              :
TargetPublicDelegates            :
TargetPublicDelegatesBL          :
TargetAltRecipient               :
TargetAltRecipientBL             :
TargetDeliverAndRedirect         :
Options                          : Default
SourceForestCredential           :
TargetForestCredential           :
TargetFolder                     :
PSTFilePath                      : z:\user_inbox_201109_4.pst
RsgMailboxGuid                   :
RsgMailboxLegacyExchangeDN       :
RsgMailboxDisplayName            :
RsgDatabaseGuid                  :
StandardMessagesDeleted          : 0
AssociatedMessagesDeleted        : 0
DumpsterMessagesDeleted          : 0
MoveType                         : ExportToPST
MoveStage                        : Completed
StartTime                        : 03/10/2013 12:39:17
EndTime                          : 03/10/2013 12:56:42
StatusCode                       : 0
StatusMessage                    : This mailbox has been exported to the PST fi
                                   le.
ReportFile                       : C:\Program Files\Microsoft\Exchange Server\L
                                   ogging\MigrationLogs\export-Mailbox20131003-
                                   123915-0488555.xml

There is nothing to skip messages, and when I attach these psts to outlook, they all have the same number of items.
0
Will SzymkowskiSenior Solution ArchitectCommented:
What you could try to see if you can get more detail is export 2 copies of the PST files attach them both to an Outlook session and from there rigth click, properties, Folder Sizes button and compare them at the folder level.

Also, do you get the same results when you do different mailboxes or is it just one mailbox in question?
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

tp-it-teamAuthor Commented:
When I'm checking the folder size, its the same.
Doesn't matter which mailbox I'm working on.
0
Will SzymkowskiSenior Solution ArchitectCommented:
I have tested this in my environment and in my test lab using the the same command export-mailbox -identity "name" -PSTFolderPath c:\path. I have had same export results everytime.

I have tested this with new accounts seasoned accounts. large, small and all of the PST files export the same size.

When you are running this command are you doing it from the same workstation or doing it directly on the server? Have you tried running the command from a different computer? Maybe there is something on the machine that is messing with the file sizes?
0
tp-it-teamAuthor Commented:
I'm doing it on the workstation. Its not possible to do it on the server as it requires 32bit environment.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tp-it-teamAuthor Commented:
Problem unresolved. Its not that important actually so I'm not interested in continuing investigating it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.