Solved

Exporting mailboxes to pst Exchange 2007 SP3

Posted on 2014-07-28
2
2,058 Views
Last Modified: 2014-07-29
I'm running $Export = get-mailbox; $Export|%{$_|New-MailboxExportRequest -FilePath "\\server\PST_mailboxes\$mailbox.pst">  on Exchange Management Shell and I get the below error
The term 'New-MailboxExportRequest' is not recognized as the name of a cmdlet,
function, script file, or operable program. 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:61
+ $Export = get-mailbox; $Export|%{$_|New-MailboxExportRequest <<<<  -FilePath
"\\edf-sbs01\PST_mailboxes\$($_.alias).pst"}
    + CategoryInfo          : ObjectNotFound: (New-MailboxExportRequest:String
   ) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Our server is running Exchange Server 2007 on a Windows Server 2008 R2 Standard OS
I have checked permissions and the administrator is a member of Server Management and Organization Management
0
Comment
Question by:xpandit
2 Comments
 
LVL 34

Accepted Solution

by:
Seth Simmons earned 500 total points
ID: 40224348
the command is Export-Mailbox

How to Export and Import mailboxes to PST files in Exchange 2007 SP1
http://blogs.technet.com/b/exchange/archive/2007/04/13/3401913.aspx

New-MailboxExportRequest is for 2010/2013

Create a Mailbox Export Request
http://technet.microsoft.com/en-us/library/ff459227(v=exchg.141).aspx
0
 
LVL 6

Expert Comment

by:S_K_S
ID: 40224383
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
how to add IIS SMTP to handle application/Scanner relays into office 365.
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…

713 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