Get active users on Exchange Server
Get-LogonStatistics -Server MBXSVR01
Get-LogonStatistics -Server SERVER | Sort-Object LastAccessTime | fl *username,lastaccesstime*
Get-LogonStatistics -Identity mail@address.com
Get-LogonStatistics -UserName Uername
Get-LogonStatistics -Server SERVERNAME | select username, clientname, clientversion, logontime, lastaccesstime | Export-CSV C:\CAS.csv
Get-LogonStatistics -Server SERVER -Identity mail@address.com | Sort-Object LastAccessTime | fl *username,lastaccesstime*
How to list all SMTP email addresses in Exchange
Get-Recipient | Select Name -ExpandProperty EmailAddresses | Select Name, SmtpAddress | Export-csv c:\temp\AllEmailAddress.csv
No Comments