Exchange 2010 Practical Tips

Source: Internet
Author: User



#Exchange安装必须开启防火墙服务



#批量建用户:


for/f "tokens=1,2,3,4,5,6,7 delims=,"%a in (c:\users.csv) do dsadd user "CN=%B,OU=%G,DC=XXXX,DC=COM,DC=CN"-


Samid%c-upn%[email protected]-ln%a-pwd%d-display%e-desc%f-disabled no >> c:\secess.log

@pause >nul


#批量改附件大小

Get-user | Set-mailbox-maxsendsize "100MB"

Get-user | Set-mailbox-maxreceivesize "100MB"


#打开EMS命令控制台, First enter "Get-popsettings | FL "To see if the Externalconnetionsetting field is set to complete.


#设置Web端Pop和Imap加密


Set-popsettings-externalconnectionsettings "Mail.xxxx.com:995:tls"

Set-imapsettings-externalconnectionsettings "Mail.xxxx.com:993:tls"



#设置Web端Smtp加密


Set-receiveconnector-identity "Client Servername"-advertiseclientsettings: $true


#如果勿删除自签名证书后, certificate recovery:


New-exchangecertificate


#查看所有用户邮箱使用空间:


Get-mailboxstatistics-database "Mailbox Database 0242617141" |ft displayname,itemcount,totalitemsize,lastlogontime > C:


\size.txt



#查询某个时间段某邮箱的发送记录:


Get-messagetrackinglog-resultsize Unlimited-start "3/24/2016 2:30AM"-end "3/24/2016 2:50pm"-Recipients "Recipient Mailbox" –


Sender "Sender Mailbox" | FT Eventid,sender,recipients,timestamp,recipientcount


#计数参数: | Measure-object

Get-messagetrackinglog-resultsize Unlimited-start "3/24/2016 2:30AM"-end "3/24/2016 2:50pm"-Recipients "Recipient Mailbox" –


Sender "Sender Mailbox" | FT Eventid,sender,recipients,timestamp,recipientcount | Measure-object


Cond..... Keep adding in ...


Zabbix_agent Boot:

C:\zabbix\bin\win64\zabbix_agentd.exe-c C:\zabbix\conf\zabbix_agentd.win.conf-s


This article is from the "Elephant" blog, make sure to keep this source http://zlyang.blog.51cto.com/1196234/1754794

Exchange 2010 Practical Tips

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.