Categories
Uncategorized

Migrating Dormant Exchange accounts

Here is a simple script you get information for evaluating your exchange accounts.

This script will return a csv of all the emails, display names, and LastLogonTime on your databases.

Get-Mailbox -ResultSize Unlimited |
Select-Object DisplayName,
SamAccountName,
PrimarySmtpAddress,
@{label=”LastLogonTime”;expression={(Get-MailboxStatistics $_).LastLogonTime}},IssueWarningQuota, ProhibitSendQuota | Export-Csv “c:\filelocation.csv” -NoTypeInformation

 116 total views,  1 views today

Leave a Reply

Your email address will not be published. Required fields are marked *