配置匿名发送邮件
Get-ReceiveConnector -Identity "NLB连接器名称" | Add-ADPermission -User "NT AUTHORITYANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"
批量添加允许IP地址
Set-ReceiveConnector -RemoteIPRanges '192.168.。。','10.100.2.2' -Identity 'NLB2连接器名称'
导出允许IP地址
get-ReceiveConnector -Identity 'NLB2连接器名称' | select-object -ExpandProperty RemoteIPRanges | format-table -autosize