March 7 2021

Export all Exchange mailboxes

get-mailbox | select -expand alias > alias.txt

$content = get-content C:\users\user\desktop\alias.txt

foreach ($user in $content) {

New-MailboxExportRequest -Mailbox $user -FilePath \\fileserver\export\$user.pst }


Copyright 2021. All rights reserved.

Posted March 7, 2021 by reggie goldman in category "Uncategorized