Save the results to a var. Then display the var. $results = <your code> $results
> On Feb 26, 2015, at 6:27, "Connolly, Peter" <[email protected]> wrote: > > 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 >
