 |
 |
Testing... |
 |
|
 |
Main Menu |
 |
|
 |
Topics |
 |
|
 |
Voice Over IP |
 |
|
 |
Last 10 Articles... |
 |
|
 |
Search this site |
 |
|
|  |
 |
This blog is no longer updated.
Since I own the domain name for a couple more years, and the hosting was paid-in-advance, it's still here. But I've moved on to Hawaii, and no longer have the need to publish all the sorts of neat stuff that made up the contents of this website.
If you've linked to me, you are invited to unlink, as your readers will no longer be presented with new content. Thanks, Steve
Exchange Mailbox Scripting via WMI
Tuesday, March 08, 2005 : Stephen D. Carroll, rokus.net
|
|
The Exchange_Mailbox Class has properties that return information about Microsoft Exchange mailboxes.
MSDN article linked above has a neat script that shows how to retrieve a list of Exchange_Mailbox instances, and how to retrieve all the associated properties.
Obviously, needs some work before you run it against an Exchange server with thousands of users (unless you reformat the output to CSV and import it to Excel). Otherwise, you'll just get a long list of stuff about every mailbox:
AssocContentCount - total number of messages associated with the mailbox folders.
DateDiscoveredAbsentInDS - when the store detected that the mailbox no longer had a corresponding user entry in Active Directory.
DeletedMessageSizeExtended - the cumulative size of all deleted messages that are still being retained according to retention policy settings.
LastLoggedOnUserAccount - the account name last used to log on to the mailbox.
LastLogoffTime - the time that the last user logged off.
LastLogonTime - the time that the last user logged on.
LegacyDN - the legacyDN of the mailbox and matches the legacyDN attribute of the user object in AD.
MailboxDisplayName - the display name of the mailbox and matches the displayName attribute in AD.
MailboxGUID - the globally unique identifier (GUID) that links the mailbox to a user in AD.
ServerName - the name of the server where the mailbox resides.
Size - the cumulative size of all of the messages in the mailbox, in bytes.
StorageGroupName - the name of the storage group that contains the mailbox.
StorageLimitInfo - the storage limit settings on the mailbox.
StoreName - the name of the message database (MDB) that contains the mailbox.
TotalItems - the total number of messages in the mailbox.
Great stuff. Definitely useful (once modified) to include in a daily/weekly/monthly summary report.
|
|
Permalink | Mail this...
|
|
| Exchange Mailbox Scripting via WMI | Login/Create an account | 0 Comments |
|
| | Comments are owned by the poster. We aren't responsible for their content. |
|  |
 |
|
|