List mailboxes based on creation date
2012-04-27 2 Comments
Just a quick one liner to list mailboxes based on the date when they where created. In the example below I list all mailboxes created the last week:
Get-Mailbox -resultsize unlimited | where {$_.WhenMailboxCreated -gt (get-date).adddays(-7)} |ft Name,whenMailboxCreated -Autosize
If you want to change the number of days just edit –7 to the number of days matching your preferences.
That’s all, take care and have fun!