As an IT Admin or Exchange Admin, you might have come across the question “When were the mailboxes created”.

In this quick example, we will look at the script you can run to check all users in the Organization or just an individual mailbox.

To check all users in Exchange, you can run the following command:

  • Get-Mailbox -ResultSize Unlimited | select-object WhenCreatedUTC,Name

This command gives you the AD creation information.

Exchange 2010 and higher:- test-replicationhealth

Now for the Exchange Mailbox Creation:

  • Get-Mailbox -resultsize unlimited | select-object WhenMailboxCreated,Name
Exchange 2010 and higher:- test-replicationhealth

This will give you the dates and names of all users. You more than welcome to expand on objects selected as each scenario might require more information.

To perform the same on an individual mailbox you run the following command:

  • Get-Mailbox User1 | select-object WhenCreatedUTC,Name

This gives you the AD creation info:

Exchange 2010 and higher:- test-replicationhealth

Now for the Exchange mailbox information:

  • Get-Mailbox user1| select-object WhenMailboxCreated,Name
Exchange 2010 and higher:- test-replicationhealth

Hope it helps.

    wpChatIcon

    Discover more from Everything-PowerShell

    Subscribe now to keep reading and get access to the full archive.

    Continue reading