《系统工程师实战培训》
-07-部署邮件系统
-10-Exchange Server 2019-
配置-Outlook 2019-POP3
作者:学 无 止 境
QQ交流群:454544014
Get-Service | Where {$_.DisplayName -Like "*Exchange*"} | ft DisplayName, Name, Status
PS C:\> Get-Service | Where {$_.DisplayName -Like "*Exchange*"} | ft DisplayName, Name, Status
DisplayName Name Status
----------- ---- ------
Microsoft Exchange Search Host Controller HostControllerService Running
Microsoft Exchange 合规性审核 MSComplianceAudit Running
Microsoft Exchange Active Directory 拓扑 MSExchangeADTopology Running
Microsoft Exchange 反垃圾邮件更新 MSExchangeAntispamUpdate Running
Microsoft Exchange 合规性服务 MSExchangeCompliance Running
Microsoft Exchange DAG 管理 MSExchangeDagMgmt Running
Microsoft Exchange 邮箱传输传递 MSExchangeDelivery Running
Microsoft Exchange 诊断 MSExchangeDiagnostics Running
Microsoft Exchange EdgeSync MSExchangeEdgeSync Running
Microsoft Exchange 搜索 MSExchangeFastSearch Running
Microsoft Exchange 前端传输 MSExchangeFrontEndTransport Running
Microsoft Exchange 运行状况管理器 MSExchangeHM Running
Microsoft Exchange 运行状况管理器恢复 MSExchangeHMRecovery Running
Microsoft Exchange IMAP4 MSExchangeImap4 Stopped
Microsoft Exchange IMAP4 后端 MSExchangeIMAP4BE Stopped
Microsoft Exchange Information Store MSExchangeIS Running
Microsoft Exchange 邮箱助理 MSExchangeMailboxAssistants Running
Microsoft Exchange 邮箱复制 MSExchangeMailboxReplication Running
Microsoft Exchange POP3 MSExchangePop3 Stopped
Microsoft Exchange POP3 后端 MSExchangePOP3BE Stopped
Microsoft Exchange 复制 MSExchangeRepl Running
Microsoft Exchange RPC 客户端访问 MSExchangeRPC Running
Microsoft Exchange Service 主机 MSExchangeServiceHost Running
Microsoft Exchange 邮箱传输提交 MSExchangeSubmission Running
Microsoft Exchange 限制 MSExchangeThrottling Running
Microsoft Exchange 传输 MSExchangeTransport Running
Microsoft Exchange 传输日志搜索 MSExchangeTransportLogSearch Running
Tracing Service for Search in Exchange SearchExchangeTracing Running
Hyper-V Data Exchange Service vmickvpexchange Stopped
Microsoft Exchange Server Extension for Windows Server Backup wsbexchange Stopped
PS C:\>
How to change a service startup type with PowerShell
Changing a service startup type can be crucial after installing or configuring the service.
PowerShell comes with an easy way to do so:
Set-Service -Name theservice -Computer thecomputer -StartupType “selectedType”
Where selectedType value can be:
Automatic
Manual
Disabled
Unfortunately, there is no support for the automatic (delayed start). To support the automatic (delayed start), you need to create a REG_DWORD value called DelayedAutoStart under HKLM\System\CurrentControlSet\Services\. A simple way to do so would be:
Set-ItemProperty -Path "Registry::HKLM\System\CurrentControlSet\Services\theservice" -Name "DelayedAutostart" -Value 1 -Type DWORD
三台服务器进行如下操作:
//在PowerShell下面执行Exchange PowerShell
Get-PSSnapin -Registered
Add-PSSnapin Microsoft.Exchange.*
//启动Exchange 2019 POP3服务
PS C:\> Set-Service -Name MSExchangePop3 -StartupType Automatic
PS C:\> Start-Service -Service MSExchangePop3
警告: 正在等待服务“Microsoft Exchange POP3 (msexchangepop3)”启动...
警告: 正在等待服务“Microsoft Exchange POP3 (msexchangepop3)”启动...
警告: 正在等待服务“Microsoft Exchange POP3 (msexchangepop3)”启动...
警告: 正在等待服务“Microsoft Exchange POP3 (msexchangepop3)”启动...
警告: 正在等待服务“Microsoft Exchange POP3 (msexchangepop3)”启动...
警告: 正在等待服务“Microsoft Exchange POP3 (msexchangepop3)”启动...
警告: 正在等待服务“Microsoft Exchange POP3 (msexchangepop3)”启动...
PS C:\>
Set-Service -Name MSExchangePOP3BE -StartupType Automatic
Start-Service -Service MSExchangePOP3BE
PS C:\> Set-Service -Name MSExchangePOP3BE -StartupType Automatic
PS C:\> Start-Service -Service MSExchangePOP3BE
警告: 正在等待服务“Microsoft Exchange POP3 后端 (MSExchangePOP3BE)”启动...
警告: 正在等待服务“Microsoft Exchange POP3 后端 (MSExchangePOP3BE)”启动...
警告: 正在等待服务“Microsoft Exchange POP3 后端 (MSExchangePOP3BE)”启动...
警告: 正在等待服务“Microsoft Exchange POP3 后端 (MSExchangePOP3BE)”启动...
警告: 正在等待服务“Microsoft Exchange POP3 后端 (MSExchangePOP3BE)”启动...
警告: 正在等待服务“Microsoft Exchange POP3 后端 (MSExchangePOP3BE)”启动...
警告: 正在等待服务“Microsoft Exchange POP3 后端 (MSExchangePOP3BE)”启动...
PS C:\>
PS C:\> Get-Service | Where {$_.DisplayName -Like "*Exchange*"} | ft DisplayName, Name, Status
DisplayName Name Status
----------- ---- ------
Microsoft Exchange Search Host Controller HostControllerService Running
Microsoft Exchange 合规性审核 MSComplianceAudit Running
Microsoft Exchange Active Directory 拓扑 MSExchangeADTopology Running
Microsoft Exchange 反垃圾邮件更新 MSExchangeAntispamUpdate Running
Microsoft Exchange 合规性服务 MSExchangeCompliance Running
Microsoft Exchange DAG 管理 MSExchangeDagMgmt Running
Microsoft Exchange 邮箱传输传递 MSExchangeDelivery Running
Microsoft Exchange 诊断 MSExchangeDiagnostics Running
Microsoft Exchange EdgeSync MSExchangeEdgeSync Running
Microsoft Exchange 搜索 MSExchangeFastSearch Running
Microsoft Exchange 前端传输 MSExchangeFrontEndTransport Running
Microsoft Exchange 运行状况管理器 MSExchangeHM Running
Microsoft Exchange 运行状况管理器恢复 MSExchangeHMRecovery Running
Microsoft Exchange IMAP4 MSExchangeImap4 Stopped
Microsoft Exchange IMAP4 后端 MSExchangeIMAP4BE Stopped
Microsoft Exchange Information Store MSExchangeIS Running
Microsoft Exchange 邮箱助理 MSExchangeMailboxAssistants Running
Microsoft Exchange 邮箱复制 MSExchangeMailboxReplication Running
Microsoft Exchange POP3 MSExchangePop3 Running
Microsoft Exchange POP3 后端 MSExchangePOP3BE Running
Microsoft Exchange 复制 MSExchangeRepl Running
Microsoft Exchange RPC 客户端访问 MSExchangeRPC Running
Microsoft Exchange Service 主机 MSExchangeServiceHost Running
Microsoft Exchange 邮箱传输提交 MSExchangeSubmission Running
Microsoft Exchange 限制 MSExchangeThrottling Running
Microsoft Exchange 传输 MSExchangeTransport Running
Microsoft Exchange 传输日志搜索 MSExchangeTransportLogSearch Running
Tracing Service for Search in Exchange SearchExchangeTracing Running
Hyper-V Data Exchange Service vmickvpexchange Stopped
Microsoft Exchange Server Extension for Windows Server Backup wsbexchange Stopped
PS C:\>
本文已完成!