Solved

Exporting mailboxes to pst Exchange 2007 SP3

Posted on 2014-07-28
2
2,329 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
[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
2 Comments
 
LVL 35

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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
Let's recap what we learned from yesterday's Skyport Systems webinar.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

615 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