Issue: New-MailboxExportRequest -contentfilter {To -eq 'useralias@domain.com'} (Full Version)

All Forums >> [Microsoft Exchange 2010] >> General



Message


omgitsjocke -> Issue: New-MailboxExportRequest -contentfilter {To -eq 'useralias@domain.com'} (1.Sep.2014 1:42:38 AM)

Hi guys!
I have an issue with the mailboxexport command. I wanna export only mail to a specific alias address in a mailbox.
If the primary address is userprimary@domain.com and the alias is useralias@domain.com.

I have tried a bunch of different commands, using -contentfilter with both 'To' and 'Participants'
For example, and with both 'To' and 'Participants'. I've used both EQ and NE. I tried both useralias and userprimary-address.
{To -EQ 'useralias@domain.com'}
{To -EQ "useralias@domain.com"}
{To -EQ '*useralias@domain.com*'}
{To -EQ "*useralias@domain.com*"}
{To -EQ '<useralias@domain.com>'}

However only NE will export mail at all. Example:
{To -NE "useralias@domain.com"}
{To -NE "userprimary@domain.com"}
These commands will retrieve ALL mail in the mailbox... Am I doing something wrong?

We have a hosted Exchange 2010 SP3 RU4.




Page: [1]