Find File Extensions in E-Mail
I need to find out if any e-mail attachments sent through our Exchange server have had a specific file format. Is there a way in Exchange 2007 to search if there have been any e-mails sent through our server that contained an attachment with a specific file extension? I've looked at the Message Tracking tool and that doesn't seem to be helpful.
May 30th, 2012 12:16pm

I've found the export command I believe is supposed to work for me: get-mailbox | export-mailbox -attachmentfilenames "*.[file extension]" -targetmailbox [my user name] -targetfolder '[folder name]' but now I get another error "Error occurred in the step: Creating target folder in the target mailbox. An unknown error has occurred" It sounds like it is trying to create my folder I'm trying to export to but that folder has already been created. Then I tried asking it to export to another folder name, for one I hadn't created yet, and I still get the same error. Any ideas where I may be going wrong?
Free Windows Admin Tool Kit Click here and download it now
May 30th, 2012 1:59pm

I've discovered that error comes from not giving permissions to the user I run the command with for each mailbox. Doing the tedious task of assigning full access to all mailboxes individually then will update with status.
May 30th, 2012 2:18pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics