Solved

Import-Mailbox cmdlet is not recognized

Posted on 2010-09-15
23
2,721 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
Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this video we show how to create a Distribution Group 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 Recipients >>…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

747 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

13 Experts available now in Live!

Get 1:1 Help Now