Solved

Exchange Mailbox Import Command

Posted on 2015-01-07
11
183 Views
Last Modified: 2015-01-13
Hello,

Was hoping that someone could clarify on the Exchange Powershell command: New-MailboxImportRequest

If I was to use the following cmdlet sequence: New-MailboxImportRequest -Mailbox Username -FilePath \\filepath\user.pst

The AD user account would have to be created first, however would it require that a mailbox already be attached to the user? Or would that cmdlet create the mailbox for that account as it imports the PST into Exchange? I am also assuming that it will recreate the folder structure for their mailbox as it originally was, when the PST was exported?

Thanks!
0
Comment
Question by:victory2201
  • 3
  • 3
  • 3
  • +2
11 Comments
 
LVL 37

Assisted Solution

by:Neil Russell
Neil Russell earned 50 total points
Comment Utility
Th commandlett will NOT create new mailboxes. It needs to exist.
Once imported it will be exact layout of what was in the .PST file.
0
 
LVL 24

Assisted Solution

by:Mohammed Khawaja
Mohammed Khawaja earned 50 total points
Comment Utility
The new in the name is part of the standard naming convention for powershell.  What it is referring to is a new import task.  As mentioned above, the mailbox must exist.
0
 
LVL 24

Accepted Solution

by:
VB ITS earned 300 total points
Comment Utility
There must be a mailbox attached to the user account that you are importing to as mentioned above. This command will not work for an account that doesn't have a mailbox associated to the account.

I am also assuming that it will recreate the folder structure for their mailbox as it originally was, when the PST was exported?
That's correct. You can choose to import the contents of the PST file into a subfolder if you want using the -TargetRootFolder switch.

For example the below command will import the contents of the Bob - Recovered.pst file into a subfolder called Recovered in Bob's mailbox. This means if Bob wanted to access the contents of the Inbox folder that was imported from the PST file, he would need to go to Mailbox - Bob > Recovered > Inbox
New-MailboxImportRequest -Mailbox Bob -FilePath "\\SERVER\PSTImport\Bob - Recovered.pst" -TargetRootFolder "Recovered"

Open in new window

0
 
LVL 3

Assisted Solution

by:Bahloul
Bahloul earned 100 total points
Comment Utility
Hey victory,

the following cmdlet

" New-MailboxImportRequest -FilePath \\Server\file.pst -Mailbox john "

is only import PST file into a mailbox which is already created and it will imported with the same structure as it originally was but it wont create  a mailbox for the user .

also the import  wont work directly before the required preparation please review the below topic :-

http://exchangeserverpro.com/exchange-2010-import-pst-files-mailboxes/

if you have many users i recommend to use PST capture :-

http://technet.microsoft.com/en-us/library/hh781036%28v=exchg.141%29.aspx

Bahloul.
0
 

Assisted Solution

by:victory2201
victory2201 earned 0 total points
Comment Utility
Alot of replies to this request, thank you!

One last question, can this import function work against another users mailbox that the export did not originally come from?

Example:

Import John Doe's PST into Jane Smith's mailbox?


Thanks!
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 24

Expert Comment

by:VB ITS
Comment Utility
One last question, can this import function work against another users mailbox that the export did not originally come from?
Yep! The only problem may be when Jane tries to update one of John's calendar entries (for example) as she isn't the owner. Easiest way to fix this is to recreate the calendar entry.
0
 
LVL 3

Expert Comment

by:Bahloul
Comment Utility
Of course , why because you are exactley importing just file not mailbox so you can import it to any mailbox .

Bahloul.
0
 

Author Comment

by:victory2201
Comment Utility
Appreciate the assistance.
0
 

Author Closing Comment

by:victory2201
Comment Utility
Went ahead and awarded points to everyone, since all responses were helpful.

Thanks again for everyone's help!
0
 
LVL 24

Expert Comment

by:VB ITS
Comment Utility
Thanks victory2201. Happy to have helped.
0
 
LVL 3

Expert Comment

by:Bahloul
Comment Utility
You are welcome 😊
0

Featured Post

Want to promote your upcoming event?

Is your company attending an event or exhibiting at a trade show soon? Are you speaking at a conference? Spread the word by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now