'New-ManagementRoleAssignment' is not recognized as the name of a cmdlet

Hi
I wan't to export a user mailbox to a .pst file from our Exchange server. We are running Exchange 2010, version number:  Version 14.1 (Build 218.15)
 I wan't to use the 'new-MailboxExportRequest cmdlet'. I've read that before you can use this cmdlet you have to grant user right for mailbox exports (http://exchangeserverpro.com/export-mailboxes-exchange-server-2010-sp1)

but my Exchange Management Shell do not recognize the 'New-ManagementRoleAssignment' cmdlet, it outputs:

[PS] C:\Windows\system32>New-ManagementRoleAssignment -Role "Mailbox Import Export" -User Administrator
The term 'New-ManagementRoleAssignment' is not recognized as the name of a cmdlet, function, script file, or operable p
rogram. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:29
+ New-ManagementRoleAssignment <<<<  -Role "Mailbox Import Export" -User Administrator
    + CategoryInfo          : ObjectNotFound: (New-ManagementRoleAssignment:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Open in new window


Anyone know why i can't use that cmdlet??

Best Regards
pfpoulsenAsked:
Who is Participating?
 
E_T_BCommented:
From the Exchange Mangement Shell,

Get-RoleGroupMember "Organization Management"

0
 
E_T_BCommented:
If you don't have the correct permissions, then you won't be able to see the cmdlet.

Are you a a member of the Organizational Management group?
0
 
pfpoulsenAuthor Commented:
hmm don't know.. How can I check it?
0
 
Rajith EnchiparambilOffice 365 & Exchange ArchitectCommented:
Are you running the command in Exchange Shell (not powershell)?
0
 
pfpoulsenAuthor Commented:
My user account was not a member of organization management - it is now, and that did the trick :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.