Connect-ExchangeOnline -UserPrincipalName indirizzo_email
Get-Mailbox -ResultSize Unlimited | Foreach{Get-MailboxStatistics -Identity $_.UserPrincipalName | Select DisplayName,LastLogonTime,LastUserActionTime}
Connect-ExchangeOnline -UserPrincipalName indirizzo_email
Get-Mailbox -ResultSize Unlimited | Foreach{Get-MailboxStatistics -Identity $_.UserPrincipalName | Select DisplayName,LastLogonTime,LastUserActionTime}