Link to home
Start Free TrialLog in
Avatar of dornmx
dornmx

asked on

Find objects with specific message class in exchange 2007 mailbox store

Hi to all the Exchange experts,
after a change in the archive soution for MS Exchange 2007 I have to find (or count) objects with the message class "XBASE Reference" in abut 200 mailboxes. Does anybody can help me to create the needed cmdlet for the exchange shell or know another way to archive a lthis list?

Thanks,
Tom
ASKER CERTIFIED SOLUTION
Avatar of sunnyc7
sunnyc7
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Glen Knight
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
Avatar of syswin2
syswin2

Hi the "accepted Solution" is not relevant  and nothing to do with searching for emails based on message class..
syswin2 - you are correct.
The correct answer should be to use Messagecontent class in Exchange 2007

New-ManagedContentSettings -FolderName Calendar -MessageClass Calendar -Name MyCalendarContentSettings -RetentionEnabled $true -RetentionAction MoveToDeletedItems -AgeLimitForRetention "30"

More here:
http://technet.microsoft.com/en-us/library/aa996014%28EXCHG.80%29.aspx