Hi,
I need to run the Mailbox last logon time report for our o365 cloud mail server. Therefore I run the below command,
Get-mailbox -resultsize unlimited| Get-MailboxStatistics | select Windowsemailaddress, displayname, lastlogontime | Sort-Object LastLogonTime | export.csv c:\lastlogon.csv
So when I run the command file output data's are coming except email addresses. So would appreciate if anyone can help me to run this report with email addresses.
Roshan