Solved

New-MailboxExportRequest cmdlet not available on 2010

Posted on 2014-02-20
5
1,788 Views
Last Modified: 2014-03-29
I have an exchange 2010 server on SBS 2011 all service packs and hotfixes for both the OS and exchange have been installed.
- I am opening Powershell as administrator
- I have successfully run New-ManagementRoleAssignment for the admin account.
- While I'm not that far along, I have created a share and added exchange trusted user account to the share with full rights.

Cmdlet is not available.

I found one thread that says to add-pssnapin Microsoft* but that doesn't load (assembly is built by a runtime newer...)

Any suggestions to get this cmdlet recognized?
0
Comment
Question by:davebird
[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
  • 3
  • 2
5 Comments
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39875198
" Powershell as administrator"

That is your mistake.

Run Exchange Management Shell as Administrator. It is in the Exchange group on the Start Menu. Powershell does not mean EMS.

Simon.
0
 

Author Comment

by:davebird
ID: 39875208
Sorry, syntax error.  Running exchange management shell.
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39875262
What command did you run to grant yourself permissions to do the new-mailboxexportrequest?

Are you sure that you are on SP3 for Exchange 2010? It doesn't install via Windows Update.

Simon.
0
 

Accepted Solution

by:
davebird earned 0 total points
ID: 39875437
Fair questions.  
Did windows update to get latest hotfixes and netframeworks etc.
Downloaded Exchange2010-SP3-x64.exe and installed
After reboot, Windows downloaded an exchange rollup 4 and installed.
From:
- Start, all programs, Microsoft Exchange Server 2010, and then Exchange Management Shell
- right click on the exchange management shell and run as administrator
- Once the PS prompt shows, the title bar shows Machine: <machine name.domain>
In the EMC, Get-ExchangeServer reports version 14.3 (Build 123.4)

------------------
That being said, while I was looking for the get-exchangeServer cmdlet, I found a thread that had a user load Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 because he was using PS (as you said in your first response) rather than EMC.  
I loaded it in the EMC.  
Command is available.  Export worked.  I'm a happy camper.
Pride forces me to share, while I hear laughing and "yea right", I really am using the EMC shell. ha.  

Thank you for your help.  Would not have run across this solution without running through to verify your questions.  If you'll post the add-pssnapin line as a response, I'll accept it as the solution and close this out.
thanx
0
 

Author Closing Comment

by:davebird
ID: 39963503
Self explanatory
0

Featured Post

Are your AD admin tools letting you down?

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.

Question has a verified solution.

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

The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
In this video we show how to create a Contact 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 >> Contact ta…
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…

739 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