导出Exchange 2007/2010设置

系统运维

从Exchange Server 2007&2010迁移到Exchange 2013时,最好保留旧服务器的设置。可以使用以下脚本将设置导出到文本:

md C:\\ExchangeSettings

$Commands = gcm get*virtual*
$Commands += Get-ReceiveConnector,Get-SendConnector,Get-ClientAccessServer,Get-OfflineAddressBook `
,Get-MailboxDatabase,Get-OutlookAnywhere,Get-AcceptedDomain,Get-SendConnector,Get-ReceiveConnector | % {gcm $_}

$Commands | % {

$command = Write-Host $_; $_ | fl 

Invoke-Expression $command | Out-File C:\\ExchangeSettings\\$_.txt

}

新网虚拟主机

Published by

风君子

独自遨游何稽首 揭天掀地慰生平

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注