DCSIMG
Mailbox Creation Time - Shay Levy

Shay Levy

If you repeat it, PowerShell it!

Mailbox Creation Time

Do you happen to know or have a rough guess when exactly your mailbox was created? From a client perspective (Outlook), you can get the date quite easily. One thing you do need to know in advance is the property tag for the PR_CREATION_TIME property name. We can get that with MFCMapi.

Download MFCMapi HERE and launch it. From the menu, click ‘Session’ and choose the first menu item: ‘Logon And Display Store Table’

 

Choose the Outlook profile you want to load and press OK.

 

Double click your mailbox store…

A new dialog pops up, click ‘Root – Mailbox’ on the left hand side pane, look for the PR_CREATION_TIME property in the right pane and double click it. Copy the value of ‘DASL’.

 

You can now close MFCMapi. Here’s the PowerShell code to get the creation time of the mailbox. I should add that I tested it with Outlook 2007, earlier versions of Outlook has different object model and the code may not work.

PS > $PR_CREATION_TIME = "http://schemas.microsoft.com/mapi/proptag/0x30070040"
PS > $outlook = New-Object -ComObject Outlook.Application
PS > $DefaultStore = $outlook.Session.DefaultStore.GetRootFolder()
PS > $DefaultStore.PropertyAccessor.GetProperty($PR_CREATION_TIME)

Monday, December 28, 2009 1:49:01 PM

 

Which you can also write as a one-liner :)

(New-Object -ComObject Outlook.Application).Session.DefaultStore.GetRootFolder().PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x30070040")

 

Comments

Twitter Trackbacks for Mailbox Creation Time - Shay Levy [microsoft.co.il] on Topsy.com said:

Pingback from  Twitter Trackbacks for                 Mailbox Creation Time - Shay Levy         [microsoft.co.il]        on Topsy.com

# April 8, 2010 1:16 PM

How to check mailbox creating time - TechiBee said:

Pingback from  How to check mailbox creating time - TechiBee

# April 8, 2010 3:45 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: