导出Exchange 2007/2010设置

  • 来源:网络
  • 更新日期:2020-09-27

摘要:系统运维 从Exchange Server 2007&2010迁移到Exchange 2013时,最好保留旧服务器的设置。可以使用以下脚本将设置导出到文本: md C:\\Exchang

系统运维

从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

}

新网虚拟主机