Exchange Server Legal Discovery
I have been trying to mold
get-mailbox –Database DB1 | Export-Mailbox –SubjectKeywords "Discovery Keywords" –TargetMailbox Administrator –TargetFolder 'MyData'
to do my bidding ( searching every mailbox database we have (6 of them) for a certain set of keywords (Blank1 AND Blank2) AND (Blank01, Blank02, ect.) then copying all the messages that meet this criteria and copying it to a folder in the admins mailbox.)
it asks me after every query to hit a y and all that bs to confirm. can i automate this? i have to run like 90 lines
September 14th, 2011 2:25pm
Maybe try to use the -confirm:$falseSukh
Free Windows Admin Tool Kit Click here and download it now
September 14th, 2011 2:30pm
It throws a bunch of errors at the beginning. Freaked at first then read it closer, it seems you only need that flag in the first line of each query. I actually found that on google randomly about an hour and a half ago but you're dead on. Thanks.
September 14th, 2011 5:40pm