Solved

Import-Mailbox cmdlet is not recognized

Posted on 2010-09-15
23
2,773 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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
 
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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

734 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