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 [email protected]
with the body: unsubscribe exchangelist

Reply via email to