Any idea why the SamAccountName can't be display in the following command ? It works perfect with the following command,
Get-mailbox | select SamAccountName, displayname
but not the following one :
Get-mailbox -resultsize unlimited| Get-MailboxStatistics | select SamAccountName, Name ,displayname, lastlogontime
Thx