I needed to get the email addresses of all employees in my company today. One liner with Exchange Shell
Get-Mailbox | Select-Object name,primarysmtpaddress | Export-Csv c:all_email_addresses.csv |
I needed to get the email addresses of all employees in my company today. One liner with Exchange Shell
Get-Mailbox | Select-Object name,primarysmtpaddress | Export-Csv c:all_email_addresses.csv |