A
A
aphazel2019-06-04 11:53:55
PowerShell
aphazel, 2019-06-04 11:53:55

How to export Exchange emails to PST for a specific time?

Hi guys! Faced with the need to export letters from the archives of employees to PST for the last 3 years. Archives of exactly Exchange 2010 , sometimes reaching up to tens of GB. I found the archive export command itself, but is it possible to specify a parameter so that letters for the last three years are exported?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vadim, 2019-06-04
@dark_rain

New-MailboxExportRequest -Mailbox username -ContentFilter {(Received -lt "04/06/2016")} -FilePath "\\server\share\file.pst"

K
Konstantin Tsvetkov, 2019-06-04
@tsklab

5cf6332e94728245796247.png

M
Mnemonic0, 2019-06-04
@Mnemonic0

Vadim That's right
aphazel A variant with archive mailboxes is also possible. You can define an archiving policy and put all mail older than a certain period into a separate database, which will be stored on a cheaper storage.
It's just that the very concept of storing pst separately from the main mail is a bit flawed, because there are questions about ensuring their safety and availability.
PS Re-read the task.
New-MailboxExportRequest -Mailbox username -ContentFilter {(Received -lt "04/06/2016")} -FilePath "\\server\share\file.pst" -IsArchive
This is how to extract PST for an archived mailbox

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question