• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Power Shell Script delete from deleted items

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2010] >> General >> Power Shell Script delete from deleted items Page: [1]
Login
Message << Older Topic   Newer Topic >>
Power Shell Script delete from deleted items - 19.Mar.2015 12:39:01 PM   
Gman0941

 

Posts: 136
Joined: 13.Oct.2004
From: Virginia
Status: offline
Guys, I am laughing a bit but need your help. I can not find the correct cmdlet to allow me to delete email in a single users mailbox in just ONE folder such as the deleted items. Everything I have found is for finding emails with subject lines. I am sure I am missing someting simple but am not afraid to ask for help! So anyone please help. Here is a simple delete script that works but again I am not sure how to direct the action to only one folder

Search-Mailbox -identity 'username' -searchquery {(Received -lt '01/01/2012' and Sent -lt '01/01/2012')} –DeleteContent

Thanks

G
Post #: 1

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2010] >> General >> Power Shell Script delete from deleted items Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter