List mailboxes based on creation date

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!

Follow

Get every new post delivered to your Inbox.

Join 31 other followers