Using Exchange Management Shell:
Exchange management shell will export all the Full Name and Email Addresses and save them to C:\customer.csv
GET-MAILBOX -RESULTSIZE UNLIMITED |SELECT-OBJECT DISPLAYNAME,SERVERNAME,PRIMARYSMTPADDRESS, @{NAME=“EMAILADDRESSES”;EXPRESSION={$_.EMAILADDRESSES |WHERE-OBJECT {$_.PREFIXSTRING -CEQ “SMTP”} | FOREACH-OBJECT {$_.SMTPADDRESS}}} | EXPORT-CSV C:\CUSTOMER.CSV -NOTYPEINFORMATION
Comments are closed