I don't think you can get everything you want from a single source.

First, I'll refer you to a script I wrote:

http://theessentialexchange.com/blogs/michael/archive/2007/11/13/a-script-for-getting-mailbox-sizes-using-wmi-in-powershell.aspx

Then a scriptcenter article that displays everything you can get from 
Exchange_Mailbox:

http://gallery.technet.microsoft.com/scriptcenter/fcf4fe8b-2260-4382-aee5-d737f6cb6627

Between the two you should be able to get everything you want.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Todd Lemmiksoo [mailto:tlemmik...@gmail.com]
Sent: Wednesday, June 08, 2011 5:23 PM
To: MS-Exchange Admin Issues
Subject: Exchange 2003 Powershell help

I need to produce a report listing all mailboxes with display name, storage 
group, Mailstore, size, last logged on time, sam account and last logged on by.
I can not get the sam account or last logged on by account to be selected for 
the report. Any help is greatly appreciated.

Get-Wmiobject -Namespace root\MicrosoftExchangeV2 -Class Exchange_Mailbox 
-ComputerName $computer | Sort-Object -Descending MailboxDisplayName | 
Select-Object 
MailboxDisplayName,StorageGroupName,StoreName,Size,LastLogonAcount,LastLogonTime
 | Export-Csv -Path "d:\scripts\browning08.csv"
    }

--
T. Todd Lemmiksoo

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

Reply via email to