Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Exchange- gets the master and all SMTP addresses

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

In Exchange operation and maintenance, it is sometimes necessary to export the user's primary and all SMTP addresses

Use the Get-Mailbox command to get all the information of the mailbox. The figure below is the field of the SMTP address.

Get-Mailbox-Identity XXX | select PrimarySmtpAddress,EmailAddresses

View all primary, all SMTP addresses

Due to the window limit, only the last three items are displayed.

Get-Mailbox-ResultSize unlimited | select name,PrimarySmtpAddressGet-Mailbox-ResultSize unlimited | select name,EmailAddresses

Note: if you use Exchange in this console, you need to import AD module in advance and use Import-Module ActiveDirectory.

Get all the imported modules Get-module-list | ft-property name,moduletype-auto

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report