1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exporting mailbox to .pst - Exchange 2007

Discussion in 'Exchange Exams' started by Boycie, Feb 24, 2010.

  1. Boycie
    Honorary Member

    Boycie Senior Beer Tester

    6,281
    85
    174
    Must have missed something - cant remember having this issue in the past.

    Exchange 2007 installed on 64 bit SBS 2008.
    Exchange management console installed on 32 bit desktop using Outlook 2007.
    Account running command member of the Exchange admin group.

    export-mailbox -Identity useraccount -PSTFolderPath C:\pst\useraccount.pst

    generates the following error:

    [PS] C:\>export-mailbox -Identity useraccount -PSTFolderPath C:\pst\useraccount.pst
    Export-Mailbox : A parameter cannot be found that matches parameter name 'PSTFo
    lderPath'.
    At line:1 char:55
    + export-mailbox -Identity useraccount -PSTFolderPath <<<< C:\pst\useraccount.pst
    + CategoryInfo : InvalidArgument: (:) [Export-Mailbox], Parameter
    BindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Exchange.Manage
    ment.RecipientTasks.ExportMailbox

    [PS] C:\>
     
    Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
  2. Gingerdave

    Gingerdave Megabyte Poster

    991
    44
    74
    Umm have you tried exmerge? I think it still works in 2007
    Or atleast you could make it work.
     
    Certifications: A+,MCP, MCDST, VCP5 /VCP-DV 5, MCTS AD+ Net Inf 2008, MCSA 2008
    WIP: MCSA 2012
  3. craigie

    craigie Terabyte Poster

    3,020
    173
    155
    The command looks right to me mate.

    What happens if you run it on the SBS Box?

    Also what happens if you try and export another users account or a test user?
     
    Certifications: CCA | CCENT | CCNA | CCNA:S | HP APC | HP ASE | ITILv3 | MCP | MCDST | MCITP: EA | MCTS:Vista | MCTS:Exch '07 | MCSA 2003 | MCSA:M 2003 | MCSA 2008 | MCSE | VCP5-DT | VCP4-DCV | VCP5-DCV | VCAP5-DCA | VCAP5-DCD | VMTSP | VTSP 4 | VTSP 5
  4. Boycie
    Honorary Member

    Boycie Senior Beer Tester

    6,281
    85
    174
    thanks for the input guys

    GD - may have to go down that route.

    Craigie - can't run it on the sbs box mate - it's 64 bit and it's the same result for all mailboxes.

    I'll let you know what happens. Cheers.
     
    Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
  5. craigie

    craigie Terabyte Poster

    3,020
    173
    155
    Eh, I have never ran the command myself, but your saying that the command has to be run on a 32Bit OS to work?
     
    Certifications: CCA | CCENT | CCNA | CCNA:S | HP APC | HP ASE | ITILv3 | MCP | MCDST | MCITP: EA | MCTS:Vista | MCTS:Exch '07 | MCSA 2003 | MCSA:M 2003 | MCSA 2008 | MCSE | VCP5-DT | VCP4-DCV | VCP5-DCV | VCAP5-DCA | VCAP5-DCD | VMTSP | VTSP 4 | VTSP 5
  6. zebulebu

    zebulebu Terabyte Poster

    3,748
    330
    187
    Boycie - is the server running SP1? AFAIK, the export function wasn't implemented in the original release of Exchange 2K7 - you need to be on SP1 to use it.
     
    Certifications: A few
    WIP: None - f*** 'em
  7. Boycie
    Honorary Member

    Boycie Senior Beer Tester

    6,281
    85
    174
    yep, must run on 32bit platform with outlook '03/'07 present mate.

    Running SP2 mate.

    Cheers.
     
    Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
  8. PaulC

    PaulC Nibble Poster

    56
    0
    16
    Did you get this working Boycie? Done loads of exports/imports in Exchange 2007 this way. Aren't you missing the " " around the path, so :

    export-mailbox -Identity useraccount -PSTFolderPath "C:\pst\useraccount.pst"
     
    Certifications: MCDST;MCSA: Messaging;MCSE
    WIP: CCENT
  9. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    10,191
    299
    319
    The whole import\export thing only really starting working 100% in SP2!!! Even after a import that reported a success there was FA email imported.

    Bring back exmerge I say... :biggrin
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010
  10. Boycie
    Honorary Member

    Boycie Senior Beer Tester

    6,281
    85
    174
    sorry for not posting back guys. whilst on-site i reinstalled the exchange management service pack, re-ran the export command and it worked!

    PaulC - dont think it needed the quotes mate.

    Sparky - exmerge was a lot easier, albeit less powerful.

    cheers.
     
    Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
  11. bonecrusher

    bonecrusher New Member

    1
    0
    6
    Exchange powershell are totally meant for 32 bit PC, on 64 bit pc its not supported. As well as, before running export-mailbox command, user must logged in with full access rights. For any corrupted edb file or in dirty shutdown state the situation is slightly different and the entire mailbox export process is quiet time taking. Even then, its possible to export multiple Exchange 2007 mailboxes into outlook pst files without exchange server from any corrupt edb files by using <snip> nae spam here! </snip> because it requires some specialized ways as explained.
     
    Last edited by a moderator: Oct 17, 2013

Share This Page

Loading...