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

Advertisement

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 )

Facebook photo

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

Connecting to %s

Blog at WordPress.com.

Up ↑

Eine Tolle Reise

Here, you all will come to know about me, about my life and of course some common issues these days!!

Office 365 for IT Pros

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

Chirag Patel MVP MCT

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: