[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

exchange 2007 powershell command

Posted on 2009-02-17
3
Medium Priority
?
566 Views
Last Modified: 2012-05-06
Hi
I want to delete some emails for a user. Suppose all emails of 2099 keep it and rest all delete
what command I have to use in powershell to do this task in exchange 2007 powershell window
Please help

0
Comment
Question by:Jinesh Kumar Kochath
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
sandeep_narkhede earned 2000 total points
ID: 23657696
Export-mailbox -Identity ricardr -PSTFolderPath D:\PSTs -StartDate 1/1/06 -EndDate 31/12/2008 -DeleteContent -confirm:$false
0
 
LVL 11

Expert Comment

by:sandeep_narkhede
ID: 23657705
More refernce to the above command can be found at following
http://technet.microsoft.com/en-us/library/aa998579.aspx
0
 

Author Comment

by:Jinesh Kumar Kochath
ID: 23657732
thanks a lot
let me try it out and will come back to you soon
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
To show how to generate a certificate request 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 Servers >> Certificates…
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…
Suggested Courses

872 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