Solved

Import-Mailbox cmdlet is not recognized

Posted on 2010-09-15
23
2,731 Views
Last Modified: 2012-06-27
Exchange 2010 SP1

I followed dematzer's instructions at...
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_2709-Importing-PST-files-in-to-Exchange-2010.html?sfQueryTermInfo=1+10+2010+30+exchang+file+import+pst

I have installed only Outlook 2010 x64 (plus the tools and shared comps)

I have both a security group and administrator added to role assignments and verified using get-managementroleassignment

Outlook and Exchange on same box single server setup

But still no import-mailbox ..........HELP!!!
0
Comment
Question by:BigBadWolf_000
  • 12
  • 7
  • 3
  • +1
23 Comments
 
LVL 74

Expert Comment

by:Glen Knight
ID: 33686556
This would normally indicate that the management role assignment isn't working.
Are you logged in using the "Administrator" user account?

How long is it since you ran the command?
0
 
LVL 3

Expert Comment

by:tedoff
ID: 33686561
After creating the proper role assignment you'll need to make sure you log out and log back in to Exchange Management Shell.  If you haven't done that try that first.
0
 
LVL 14

Author Comment

by:BigBadWolf_000
ID: 33686583
I ran the command new-managementrole then restarted the server and tried import-mailbox
0
 
LVL 14

Author Comment

by:BigBadWolf_000
ID: 33686589
Yes logged in as administrator
In group member is administrator too
0
 
LVL 49

Expert Comment

by:Akhater
ID: 33686607
import-mailbox was removed in exchange 2010 sp1 and replaced by new-mailboximportrequest

http://technet.microsoft.com/en-us/library/ff607310.aspx
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 33686610
BigBadWolf, I can only appologis, I have missed a whole section out of my article.  or it's at least a little ambiguous.

You have created the Management Role but have you added the users to the group you have assigned that role to?

Did you create a new group or use an existing one?
0
 
LVL 14

Author Comment

by:BigBadWolf_000
ID: 33686624
Here is what I get when I run get-managementroleassignment
Snap1.jpg
0
 
LVL 49

Expert Comment

by:Akhater
ID: 33686633
BigBadWolf just in case you missed my previous post

import-mailbox was removed in exchange 2010 sp1 and replaced by new-mailboximportrequest

http://technet.microsoft.com/en-us/library/ff607310.aspx
0
 
LVL 14

Author Comment

by:BigBadWolf_000
ID: 33686663
no i got it ....just reading up...would this syntax work
New-MailboxImportRequest -Mailbox Ayla -FilePath F:\PST\ayla.pst
0
 
LVL 14

Author Comment

by:BigBadWolf_000
ID: 33686693
Akhater: Can you help me identify the prerequsites.....does this mean Outlook 2010x64 is not required
 
0
 
LVL 49

Expert Comment

by:Akhater
ID: 33686705
yep you don't need outlook anymore for the New-MailboxImportRequest
0
Do email signature updates give you a headache?

Are you constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

 
LVL 14

Author Comment

by:BigBadWolf_000
ID: 33686745
do I still need the new-management roles that I created....
0
 
LVL 49

Accepted Solution

by:
Akhater earned 500 total points
ID: 33686764
0
 
LVL 14

Author Comment

by:BigBadWolf_000
ID: 33686823
How do I remove this...I earlier created using othe instructions...Note: I do not wat to delete the Mailbox Import Export role but just the assigment (as created below)


New-ManagementRoleAssignment –Name “MailboxImportExport” –SecurityGroup “Mailbox-IER" –Role “Mailbox Import Export”
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 33686827
Yes the management role is still required.

It's just a different command, the syntax is almost identical

(looks like I need to update my article)
0
 
LVL 49

Expert Comment

by:Akhater
ID: 33686840
I am sorry but what do you want to remove ?
0
 
LVL 14

Author Comment

by:BigBadWolf_000
ID: 33686963
Thanks i will leave the role assignments as they are...
Ok i ran the command new-mailboximportrequest...it accepted the syntax and went to queued status.

But after a few minutes I ran the get-mailboximportrequest and it shows as failed.

What should I do next?
0
 
LVL 49

Expert Comment

by:Akhater
ID: 33686977
we need to know why it failed check the report or paste the get-mailboximportrequest | fl
0
 
LVL 14

Author Comment

by:BigBadWolf_000
ID: 33687072
Yeah did the get-mailboximportrequeststatistics.....see attached
see results below...note: the pst was created in outlook2003 and then migrated to oitlook 2010 (no issues at the time) client  no exc server.
test.txt
0
 
LVL 14

Author Comment

by:BigBadWolf_000
ID: 33687079
I will run a pst repair and try again
0
 
LVL 49

Expert Comment

by:Akhater
ID: 33687099
well it proves all is working well :)

just add -BadItemLimit  10 (for example) or unlimited
0
 
LVL 14

Author Comment

by:BigBadWolf_000
ID: 33687401
Fixing the PST did it
0
 
LVL 14

Author Closing Comment

by:BigBadWolf_000
ID: 33687404
Akhater: Thank you very much!
0

Featured Post

Do email signature updates give you a headache?

Are you constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

932 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

12 Experts available now in Live!

Get 1:1 Help Now