Free for PREMIUM members
Get-Mailbox | Set-Mailbox -DeliverToMailboxAndForward $false -ForwardingSMTPAddress $null
Open in new window
Get-Mailbox -ResultSize Unlimited | select Name,Alias,UserPrincipalName,LegacyExchangeDN | export-csv -nti c:\legacydn.csv
Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.
If you are experiencing a similar issue, please ask a related question
Join the community of 500,000 technology professionals and ask your questions.
Join & Ask a Question
Join our community for more solutions or to ask questions.
For immediate help use Live now!