Have a SBS 2011 box with Exchange 2010 on it. Want to backup (export .pst) for several email accounts. I will create a separate profile and add their email accounts to my Outlook so I can do the backup. I would prefer not to change their passwords if possible but Outlook always asks for the password when I add the account. How can I grant myself full access permissions of these users email without having to change their password, if possible. Thx..
ExchangeSBSActive DirectoryOutlook
Last Comment
xav1963
8/22/2022 - Mon
FOX
In exchange 2010 in give yourself full rights to each of the mailboxes in question
Using powershell would be great ... I tried it and getting error ... the term New-MailboxExportRequest is not recognized as a cmdlet ...etc...
What step am I missing?
Francois Peroux
Did you launch the EMS (Exchange Management Shell) ? You have to use this instead of the regular PowerShell.
Ok... following directions ... gave myself permissions and ran new-mailboxexportrequest ... didn't get errors but nothing happened ... now have 2 of these ... ">>". Typed Get -MailboxExportRequest but nothing happens ... What is next?
Francois Peroux
Can you see a file under the place you enter in the comand line (–FilePath “\\<servername>\Sharename\user.pst”) ?
It can take a while depending on the size of the mailbox.
xav1963
ASKER
ok.. that might have been a typo... now get access to path is denied ... what account needs folder permissions to the path?
It will be the same account as you used to launch the console. Did you launch the console as adminitrator ?
If not, check the rights on the shared folder. For example, try to create a folder manually then you'll see if you can write on it.
xav1963
ASKER
OK.. i just used another folder that I knew exchange has rights to it and it ran the command fine ... question .. it is still exporting ... in progress ... this is an account I had already exporting thru Outlook and the size of the pst was 426MB ... and I verified everything was there with an import. But this PS way, the file is still growing and it is already at 1.4GB ... any idea why?
Not at all, except if you open them on old version of Outlook (like 2003) but it's not your case.
xav1963
ASKER
well ... did do an import into Outlook and looks ok .... slower process and takes alot longer to import into Outlook, dont know why, but it works. What is the command to export all mailboxes at once?
xav1963
ASKER
and for all mailboxes ... will it do one at a time or how many at once? don't want to overtax the server...
By memory, it will do one by one. In any case, you should launch it when the server is less used.
xav1963
ASKER
I read that and it gives impression that it would export into one large pst and I needed them individually ... probably just misunderstood it ... thx for all your help...
Francois Peroux
Don't worry, it will export in separate PST files, because of that ($_.alias).pst. It will create a PST with the alias of user concerned.
ref link: https://technet.microsoft.com/en-us/library/aa996343(v=exchg.141).aspx