--勉励自己努力以钉子的“挤”劲和“钻”劲提升自己
 :: Blog List ::
钉子 发表于 2014-7-15 23:48:23

在Exchange 2003升级到Exchange Server 2007/2010的过程中,经常会遇到将Exchange 2003中原有SMTP连接器的地址空间,存在大量的域名,但是在Exchange 2010发送连接器中可以看到,更无法导出,可以使用以下方法进行操作:

0.前提是在Exchange 2010中已建好新的发送连接器

1.打开EMS

2.输入以下命令,取消16条限制
$FormatEnumerationLimit =-1

3.输入以下命令获取Exchange 2003连接器的地址空间信息:

Get-SendConnector -Identity "exchange 2003 connector name " | fl -property AddressSpaces

或是使用以下命令导出到txt文件

Get-SendConnector -Identity "exchange 2003 connector name " | ft -property AddressSpaces | out-file c:\output.txt

4.复制AddressSpaces部分的内容到记事本。

5.根据以下命令中AddressSpaces部分修改导出或是复制的信息,一般使用查找替换等方法

Set-SendConnector -Identity "exchange2010 sendconnector name" -AddressSpaces "leaguer-sz.com;1“, "outlook.com;1“

6.修改完AddressSpaces格式后,套入5中命令的-AddressSpaces 部分,

Set-SendConnector -Identity "exchange2010 sendconnector name" -AddressSpaces "leaguer-sz.com;1“, "outlook.com;1“

参考信息:
http://technet.microsoft.com/zh-cn/library/aa997285(v=EXCHG.141).aspx
http://exchangeserverpro.com/how-to-prevent-truncation-of-long-output-in-exchange-management-shell/

发表评论:

    昵称:
    密码: (游客无须输入密码)
    主页:
    标题:
Best view with 1024 x 768 pixel & IE 6.0.
About Me
Archives Categories
Replies List
My FriendLinks
Blog Info

Powered by Oblog.