Get list of Mailboxes created in Month & Year

Use below cmdlet to get mailbox which created in a month of specific year.

Below cmdlet would result Mailbox’s name with creation date for users created on April 2012.

Get-mailbox -server “MAILBOXSERVER NAME” -ResultSize Unlimited | Where-Object {(($_.WhenCreated).Year -eq 2012)} | Select Name,Database,WhenCreated | Where-Object {($_.WhenCreated).month -eq 04 } | ft name,WhenCreated

2 thoughts on “Get list of Mailboxes created in Month & Year

Add yours

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

Chirag Patel

Microsoft 365 Specialist

All about Microsoft 365 & Teams

lEt's eNaBle MoDeRn WoRkPlAcE !

The WordPress.com Blog

The latest news on WordPress.com and the WordPress community.

%d bloggers like this: