One of the friends asked in the TechNet Forum that how to find all the databases in Exchange 2007 that modified in last 3 months.

I’m posting here it may help someone.

Get-MailboxDatabase | Where{$_.Whenchanged -gt ((Get-Date).AddMonths(-3))} | fl name, whenchanged

Advertisements