Get-Mailbox
Hi,I am doing the following command to export all mailboxes to a pst folderGet-Mailbox -Database "myexchange.exchange.com\Mailbox Database" | Export-Mailbox -PSTFolderPath f:\mailboxes
Exporting process is working but lots of mailboxes are showing their size as 265 kb. I have checked the rights and the following rights are given toadmin mailbox (jinesh.kumar) who is performing this export action :
1. exchange organization admin2. exchange receipients admin3. exchange view only admin4. exchange public folder admin5. Exchange server admin
All mailboxes are given full access permission tojinesh.kumar
How can I export all mailboxes with complete data, please advise
Jinesh KumarJinesh
January 23rd, 2009 9:17am
Hi Jinesh,~ If you have correct permissions as per below article then pick a problematic user and use Export-Mailbox with -Verbose & -Debug switch to see detailed steps performed by cmdlet and try to find out clue why it is not exporting data to PST file properly.How to Export Mailbox Datahttp://technet.microsoft.com/en-us/library/bb266964.aspx~ Second thing I'd try with, create a test user and just give Exchange Server admin & local server admin rights and full mailbox permission on one of the problematic mailbox. Run Export-Mailbox under credential of newly created test user and observe the result.Amit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2009 4:17pm
Hi
thanks for your reply. actually when I try to do export individual mailboxes it is working fine and all data are getting exported to pst. But the problem is started when I try it with database level
Since I got nearly 150 mailboxes in my exchange, I cannot do it individually as this will take hell of time and attenion.
Jinesh
January 24th, 2009 4:31pm
Hi Jinesh,~ So you mean that mailboxes, which have problem in bulk mailbox export, work fine when you export mailbox individualy for them? Actually the cmdlet you use to export mailboxes based on database, does similar thing as like individual user export mailbox, get the identities of users from the output of Get-Mailbox cmdlet and give those in the input of Export-Mailbox one by one.Do you see any error/problem when you use database level cmdlet with -verbose and -debug switches and specially when it process the problematic users? (I added|out-file C:\Output.txt so it exports the detailed operation to text file for further research). Post the operation result of problematic mailbox from output.txt to forum so we can get more idea....Get-Mailbox -Database "myexchange.exchange.com\Mailbox Database" | Export-Mailbox -PSTFolderPath f:\mailboxes -Verbose -Debug |out-file C:\Output.txt~ Did you try creating test user and export mailboxes with it?Amit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2009 7:01pm
Hi
What I have done now is, instead of login into my name (jinesh.kumar) I have logged again with Administrator on win xp machine (where exchange admin tools installed) and done the same command and it is working fine.
I have also given each mailbox full access permission to Administrator, now it is exporting all data to pst fine.
thanks a lot for your support
Jinesh
January 25th, 2009 6:35pm