All,

Exchange 2010.

I want to retrieve alias and LastLogonTime.  This command seems to work,
except it only returns the LastLogonTime for the last user in the list.  Can
anyone help with the syntax?  Thanks!

Get-Mailbox -database db07 | Select alias,
@{label="LastLogonTime";e={(Get-MailboxStatistics $_).lastlogontime}}

Peter

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to