上海青羽电脑科技有限公司

技术园地

TECHNOLOGY

技术园地

Exchenge基础命令(五)

发布时间:2016-03-31  /  浏览次数:9,196次

配置附件筛选
Add-AttachmentFilterEntry -Name <MIMEContentType> -Type ContentType

启用或禁用 Outlook 电子邮戳验证
Set-ContentFilterConfig -OutlookEmailPostmarkValidationEnabled $true
Set-ContentFilterConfig -OutlookEmailPostmarkValidationEnabled $false

配置内容筛选的拒绝响应
Set-ContentFilterConfig -RejectionResponse <AsciiString>

将收件人域和发件人域排除在发件人 ID 筛选之外
Set-SenderIDConfig -BypassedRecipients <MultiValuedProperty>
Set-SenderIDConfig -BypassedSenderDomains <MultiValuedProperty>

为发件人信誉配置出站访问以实现开放代理服务器的检测功能
Set-SenderReputationConfig -ProxyServerName <String> -ProxyServerPort <Int32> -ProxyServerType <String>

指定垃圾邮件隔离邮箱.
Set-ContentFilterConfig -QuarantineMailbox <SmtpAddress>

在集线器传输服务器上启用反垃圾邮件功能
install-AntispamAgents.ps1

为 WinHTTP 配置代理设置
proxycfg -p proxy_server "<local>"

自定义默认邮件分类
Set-MessageClassification cmdlet

复制边缘传输服务器上的传输规则配置
Export-TransportRuleCollection C:\Backups\EDGE02.XML

配置日记邮箱
Set-Mailbox <Journaling mailbox to configure> -AcceptMessagesOnlyFrom "Microsoft Exchange" -RequireSenderAuthenticationEnabled $True

配置备用日记邮箱
Set-TransportConfig -JournalingReportNdrTo "<>"

启用或禁用对语音邮件和丢失呼叫通知记录日记的功能
Set-TransportConfig -VoicemailJournalingEnabled $False

 

使用克隆配置任务备份边缘传输服务器
ExportEdgeConfig.ps1

将本地连续复制副本设定为种子
Update-StorageGroupCopy cmdlet

切换到数据库的被动副本
Restore-StorageGroupCopy cmdlet

对群集网络禁用连续复制
Disable-ContinuousReplicationHostName -Identity <CMSName> -HostName <HostName>

查看故障转移控制配置
Get-MailboxServer -Identity:<CMSName> | Format-List

查看群集邮箱服务器的状态
Get-ClusteredMailboxServerStatus -Identity:<Name>

在群集连续复制环境中移动存储组
Suspend-StorageGroupCopy -Identity <Server\StorageGroupName>

暂停群集连续复制副本的复制
Suspend-StorageGroupCopy -Identity:<Server\StorageGroup> -suspendcomment:<Comment>

重新启动群集连续复制副本的复制
Resume-StorageGroupCopy -Identity:<Server\StorageGroup>

在发生故障或更改后还原 CCR 功能
Get-ClusteredMailboxServer -Identity:<Server>

启用 SCR 的存储组移动存储组文件的位置
Suspend-StorageGroupCopy -Identity <Server\StorageGroupName> -StandbyMachine <NameOfSCRTargetMachine>

查看已经启用备用连续复制 (SCR) 的存储组的状态
Get-StorageGroupCopyStatus -Identity <Server>\<StorageGroup> -StandbyMachine

SCR和数据库可移植性
Test-ReplicationHealth和 Get-StorageGroupCopyStatus cmdlet

查看单一副本群集中群集邮箱服务器的状态
Get-ClusteredMailboxServerStatus -Identity:<Name>

一站式解决邮件收发与安全难题
靠谱工程师为您提供一对一的专业技术支持与服务
申请试用
400-602-8603