Finding Exchange 2007 databases modified in the last 6 months
Hi All As part of our change control/ auditing, I need to find all Exchange 2007 databases that have been modified within the last 6 months. I know there is a "when modified" attribute when you do a Get on the Exchange databases (get-mailboxdatabase), but does anyone know how I can compile a Powershell that will filter for just when the modified date is within the last 6 months?
February 7th, 2012 5:42pm

Hi Paul, this will work for you... give a shot.. Get-MailboxDatabase | Where{$_.Whenchanged -gt ((Get-Date).AddMonths(-6))} | fl whenchanged Kottees : My Blog : Please mark it as an answer if it really helps you.
Free Windows Admin Tool Kit Click here and download it now
February 7th, 2012 11:00pm

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

Other recent topics Other recent topics