internet:mail:exchange:exchange_list_users
Differences
This shows you the differences between two versions of the page.
|
|
internet:mail:exchange:exchange_list_users [2017/08/02 15:29] gcooper created |
internet:mail:exchange:exchange_list_users [2019/05/20 09:50] (current) gcooper |
<file> | <file> |
Get-mailbox -ResultSize "unlimited" | select Name, PrimarySmtpAddress | Get-mailbox -ResultSize "unlimited" | select Name, PrimarySmtpAddress |
| </file> |
| |
| ===== List E-Mail Addresses and Aliases ===== |
| |
| https://enterpriseit.co/microsoft-exchange/export-list-of-all-exchange-email-addresses-and-aliases/ |
| |
| CSV: |
| |
| <file> |
| Get-Mailbox -ResultSize Unlimited -OrganizationalUnit "OU=Phoenix Users,OU=Phoenix,DC=CONTOSO,DC=COM" |Select-Object DisplayName,PrimarySmtpAddress, @{Name="EmailAddresses";Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -ceq "smtp"} | ForEach-Object {$_.SmtpAddress}}} | Export-CSV c:\exportsmtp.csv -NoTypeInformation |
| </file> |
| |
| Text: |
| |
| <file> |
| ldifde -f c:\emailaddresses.txt -d "dc=contoso,dc=com" -l proxyaddresses -r "(proxyaddresses=*smtp:*@*)" |
</file> | </file> |
internet/mail/exchange/exchange_list_users.1501709367.txt.gz · Last modified: 2017/08/02 15:29 by gcooper