Solved

Exchange Power Shell

Posted on 2013-05-20
13
289 Views
Last Modified: 2014-06-11
I am trying to Export e-mail out of my Exchange server thru the Power Shell.....I have found the commands from MS...but cannot get them to work!!!!!!

I am exporting a user to the D:\PST folder with a specific date range and cannot get this to work...can someone give me some guidance?

Here are some of the commands I am trying to running:(Where "Usename" is the user)

export-mailbox -identity username -startdate "01/01/1990" -enddate "04/18/2013" -pstfolderpath d:\pst

export-mailbox -identity username -startdate "january/01/1990" -enddate "April/18/2013" -targetfolder d:\pst\username

export-mailbox -identity username -startdate "jan
uary/01/1990" -enddate "April/18/2013" -targetfolder d:\pst


any help????

Thanks!
0
Comment
Question by:LFSPAdmin
  • 5
  • 3
13 Comments
 
LVL 4

Expert Comment

by:bepsoccer1
ID: 39182603
What version of exchange are you running?  Do you have outlook installed on the server you are running the command from?  If you are running exchange 2007 you will need to do this from a 32bit OS.  If running exchange 2010 you will need to run it from a 64bit OS with 64bit outlook and use command New-MailboxExportRequest.
0
 

Author Comment

by:LFSPAdmin
ID: 39182677
Sorry...we are running Exch 2007...and no I do not have Outlook installed on our Exchange Server.

if the OS is 64bit...how can I run on 32bit?....can you install Exchange Management Shell on another system?

Thanks!
0
 
LVL 16

Accepted Solution

by:
Rajitha Chimmani earned 250 total points
ID: 39182692
Yes. you can install it on a 32-bit machine on domain. Below are the pre-requisites which made my export to PST successful.

1.      Windows 7 32-bit operating system.
2.      Microsoft Office Outlook 2010.
3.      32-bit Exchange 2007 SP1 or later management tools.
4.      The User Account Control properties must be set to “Never notify”
6.      Make sure the account has full access to the folder C:\Program Files\Microsoft\Exchange Server\Logging\
7.      Account must have full access on the mailbox to be exported (Add-MailboxPermission)
8.      The account running the command must be an Exchange Organization Administrator or an Exchange Server Administrator.
0
 
LVL 4

Assisted Solution

by:bepsoccer1
bepsoccer1 earned 250 total points
ID: 39182693
yes, you will need to download the 32bit Exchange Management Tools and install outlook on a remote machine and then run the command.  You will not be able to do it locally.  http://www.microsoft.com/en-us/download/details.aspx?id=11876
0
Being driven mad by email signature updates?

Having to make a change to your users’ email signatures, yet again? Feel like your head is going to explode? Rely on an Exclaimer email signature management solution to make the process simple!

 

Author Comment

by:LFSPAdmin
ID: 39184988
that did it...I also ran into the issue of permission....so had to add the following string.

add-mailboxpermission -Id "<mailbox>" -User "<admin user account>" -AccessRights FullAccess -Deny:$false


Thanks Guys!!!
0
 
LVL 4

Expert Comment

by:bepsoccer1
ID: 39185017
Really? I get no credit?
0
 

Author Comment

by:LFSPAdmin
ID: 39185290
looks like he beat you by one second :-)

new at this....should 1/2 go to you and 1/2 go to him?

how do I fix it.
0
 

Author Comment

by:LFSPAdmin
ID: 39187387
that did it...I also ran into the issue of permission....so had to add the following string.

add-mailboxpermission -Id "<mailbox>" -User "<admin user account>" -AccessRights FullAccess -Deny:$false


Thanks Guys!!!
0
 

Author Comment

by:LFSPAdmin
ID: 39187402
I have no clue what I am doing here!@.......YES i want to split it between the 2 answers...and clicked multi answers and it give 500 points to one and not the other....errrrrrr
0

Featured Post

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In this video we show how to create an Address List 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 Organization >> Ad…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now