К примеру можно так, покажет ящики в которые не логинились более 60 дней:
$d = Get-Date
$before = $d.AddDays(-60)
$mail = Get-MailboxStatistics -Server server_name | where {$_.LastLogonTime -lt $before}
foreach ($m in $mail){
Write-Host $m.DisplayName
}