Export-Mailbox not working
Using Exchange 2007 SP2. I am trying to export a specific user's mailbox from a database I restored from an old backup. I gave myself permissions to the mailbox. Since this is a restore there are two mailboxes for some users. One on the 2007 restored database and one on the new 2010 server. I am having troubled getting export-mailbox to export just the restored 2007 mailbox. In other words.... I can't get export-mailbox to only look at the restored 2007 database and not the new 2010 database. I have tried using get-mailbox -Database DatabaseName | Export-Mailbox -Identity UserName -PstFolderPath C:\Test.pst I get no output and no error. Thanks
January 25th, 2012 10:22am

Hi You can use the ExchangeGuid attribute to specify a particular mailbox in this scenario. Cheers, Steve
Free Windows Admin Tool Kit Click here and download it now
January 25th, 2012 10:48am

Please go for a Simple Command Export-Mailbox -Identity <MailboxIdParameter> -PSTFolderPath C:\Test.pst Ref Link - http://technet.microsoft.com/en-us/library/bb266964(EXCHG.80).aspx Regards Satheshwaran Manoharan
January 25th, 2012 11:25am

So you restored the 2007 database to a left over 2007 server and then you have same named mailboxes within the 2010 environment, and therefore when you export by name you are getting contents from both 2007 and 2010 for users with mailboxes that match in both servers? I am surprised that this even worked at all and IMHO dont think this is wise to try becuase your queries depend upon AD and it should only have information and access to the online 2010 server but apparently since you are querying by name its actually allowing you to get some information from both. You might be able to get the export to work by finding the MB guids in that database http://technet.microsoft.com/en-us/library/bb123685.aspx however personally I think you are playing with fire having the old 2007 DB that was migrated to 2010 put back online. I would reccomend that you instead use the 2007 RSG http://technet.microsoft.com/en-us/library/aa997694(EXCHG.80).aspx option or use a 3rd party product like Lucid8's DigiScope http://www.lucid8.com/product/digiscope.asp which will let you open any offline Exchange database so that you can Browse, View, Search and Export Mailboxes, Folders and Individual items to PST, MSG & XML or if desired you can recover information directly from any offline database into any Production Exchange server, even cross version i.e. 2007 --> 2010 etc. Troy Werelius www.Lucid8.com Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScope
Free Windows Admin Tool Kit Click here and download it now
January 25th, 2012 2:35pm

My understanding is that you are using an RSG? This is where you restored the DB too right?Sukh
January 25th, 2012 7:06pm

Hi Do you have anything to update? If post is helpful to you, please mark it.Terence Yu TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
January 29th, 2012 9:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics