Get-Mailbox | Get-MailboxStatistics | Where-Object {$_.LastLogonTime -lt (Get-Date).AddDays(-60)}
You can use this information to further investigate whether these mailboxes are required.
If the LastLogonTime is $null (blank) it means that the user has never logged on. This is normal for shared mailboxes and resource mailboxes.
No comments:
Post a Comment