Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

export-mailbox only messages with attachments

Status
Not open for further replies.

matt95gsr

MIS
Jul 1, 2002
60
US
Does anyone know if there is a way to use the export-mailbox command in the management console to export/copy only messages with attachments? I know that I can use the -AttachmentFilenames parameter to search, but the key is that I need to export all messages that have _any_ attachments regardless of filename or extension (think *.*). Actually, I've tried using "-Attachmentfilenames *.*", and it copied all messages, even those without attachments. I've also tried "*.[a-z]*" and a few other variants with little to no success. The issue is actually that I am trying to restore attachments, and would like to copy over only the messages that include them from the RSG. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top