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

export-mailbox exclusions

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> Management >> export-mailbox exclusions Page: [1]
Login
Message << Older Topic   Newer Topic >>
Limited time MSExchange.org offer! -- 1.Sep.2008 1:00:00 PM
TechGenix and SolarWinds have partnered to provide free copies of SolarWinds Exchange Monitor to all visitors who join the MSExchange.org Forums. SolarWinds Exchange Monitor is a handy desktop dashboard that continuously monitors Microsoft Exchange to deliver real-time insight into Exchange services, mail queue sizes, and host server health. Learn more about Exchange Monitor and the free offer!
export-mailbox exclusions - 26.Aug.2008 10:30:38 AM   
meetoo

 

Posts: 50
Joined: 11.Jan.2008
Status: offline
I need to search my entire database for messages containing a specific name.  When I run the command below, it returns messages with the name in the body AND the recipient list. 

I do not want the recipient lists to be included in the search, just the message body and attachments.  How can I exclude the recipients?

Here is the command:

get-mailbox -database "serverA\sg2\mailbox store" | export-mailbox -targetmailbox tester -targetfolder restore2 -contentkeywords "alice" -excludefolders \contacts, \calendar -baditemlimit 1000

Thanks
Post #: 1
RE: export-mailbox exclusions - 26.Aug.2008 1:22:27 PM   
jveldh

 

Posts: 638
Joined: 12.Apr.2008
From: The Netherlands
Status: offline
Hi,

Try this

get-mailbox -database "serverA\sg2\mailbox store" | export-mailbox -targetmailbox tester -targetfolder restore2 -contentkeywords "alice" -excludefolders "\contacts", "\calendar" -baditemlimit 1000



_____________________________

Best regards,

Johan Veldhuis

Visit my website

(in reply to meetoo)
Post #: 2
RE: export-mailbox exclusions - 26.Aug.2008 1:31:23 PM   
meetoo

 

Posts: 50
Joined: 11.Jan.2008
Status: offline
Just to confirm, the only thing you added was quotes around the excludefolders items, right? 

If so, then it's still pulling messages with the keyword in the recipient list.

(in reply to jveldh)
Post #: 3
RE: export-mailbox exclusions - 26.Aug.2008 4:30:59 PM   
jveldh

 

Posts: 638
Joined: 12.Apr.2008
From: The Netherlands
Status: offline
Hi,

This is strange because below the description from the technet page:

The ContentKeywords parameter specifies the keywords of the content to include in the move. If the command finds a keyword that you specify in the message body or in the attachment content, it will export those messages

Recipients are listed in the header so it's very strange that it selects messages with the word in the recipient field.

Have you trie the parameter AllContentKeywords ?





_____________________________

Best regards,

Johan Veldhuis

Visit my website

(in reply to meetoo)
Post #: 4
RE: export-mailbox exclusions - 26.Aug.2008 5:02:36 PM   
meetoo

 

Posts: 50
Joined: 11.Jan.2008
Status: offline
Nope, same results.

I have now opened a case w/MS and after working on it for 2 hours the technician asked if he could call me back tomorrow.  I was really disappointed that MS could not resolve this fairly quickly.  Of course it all depends on who you talk to.

Thanks for your help.  If they are able to resolve it I will post the answer.

(in reply to jveldh)
Post #: 5
RE: export-mailbox exclusions - 26.Aug.2008 5:09:47 PM   
jveldh

 

Posts: 638
Joined: 12.Apr.2008
From: The Netherlands
Status: offline
Hi,

Yes I am very interested in the solution.



_____________________________

Best regards,

Johan Veldhuis

Visit my website

(in reply to meetoo)
Post #: 6
RE: export-mailbox exclusions - 28.Aug.2008 10:50:55 AM   
meetoo

 

Posts: 50
Joined: 11.Jan.2008
Status: offline
Not that I want to be an innovator, but MS is stating that I have found a bug in Exchange.  They can replicate the behavior and have no fix for it at this time.

If I ever get a resolution I will post back.

(in reply to jveldh)
Post #: 7

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> Management >> export-mailbox exclusions 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