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 ↑

Office 365 for IT Pros

The only always up-to-date book about the cloud Office system in Microsoft 365 covering Exchange Online, SharePoint Online, OneDrive for Business, Microsoft Teams, Planner, Azure Active Directory, and more

Chirag Patel

Microsoft 365 Specialist

All about Microsoft 365 & Teams

lEt's eNaBle MoDeRn WoRkPlAcE !

WordPress.com News

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

%d bloggers like this: