Install Exchange 2016 CU3 on Windows server 2016

时间:2022-06-01 20:20:16

1.Download Ex2016 cu3:

Exchange 2016 CU3:

Notable fixes and improvements are:

Download: Cumulative Update 3 for Exchange Server 2016 (KB3152589)    
Download: Exchange Server 2016 CU3 UM Language Packs    
View: Description of Cumulative Update 3 for Exchange Server 2016    
View: Blog post of the Exchange Team about CU3 for Exchange Server 2016

2.Install Windows Feature:

Install-WindowsFeature NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering,RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell,Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth,Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression,Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing,Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase,Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor,Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth,Web-WMI, Windows-Identity-Foundation,RSAT-ADDS

Install Exchange 2016 CU3 on Windows server 2016

3.Install Unified Communications Managed API 4.0 Runtime (UcmaRuntimeSetup.exe):?id=34992 

Start-BitsTransfer -Source -Destination c:\temp\UcmaRuntimeSetup.exe

Install Exchange 2016 CU3 on Windows server 2016

c:\temp\UcmaRuntimeSetup.exe /q


Install Exchange server 2016 CU3:

1)Prepare AD

.\Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms

Install Exchange 2016 CU3 on Windows server 2016

.\Setup.exe /PrepareAD /OrganizationName:"SEN" /IAcceptExchangeServerLicenseTerms

Install Exchange 2016 CU3 on Windows server 2016

.\Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms

Install Exchange 2016 CU3 on Windows server 2016

2)Install Ex2016 CU3:

.\Setup.exe /mode:Install /role:Mailbox /InstallWindowsComponents /TargetDir:"D:\ExchangeServer\V15" /MdbName:"MBDB001" /DbFilePath:"D:\ExchangeServer\V15\Mailbox\MBDBFile\MBDB001.edb" /LogFolderPath:"D:\ExchangeServer\V15\Mailbox\MBDBLog" /CustomerFeedbackEnabled:false /IAcceptExchangeServerLicenseTerms

Install Exchange 2016 CU3 on Windows server 2016

   
. Post-Installation Tasks:

Set-ExchangeServer –Identity SEN-Ex01 -ProductKey *


1) Creating accepted domains

New-AcceptedDomain -Name Aplusnb -DomainName aplusnb.cn -DomainType Authoritative

2)Enable User Mailbox:

get-user -OrganizationalUnit "sen.hi.cn/SEN" | where-object {$_.RecipientType –eq “User”} | Enable-Mailbox | get-mailbox | select name,windowsemailaddress,database


3) Creating an email address policy

New-EmailAddressPolicy -Name Aplusnb -IncludedRecipients AllRecipients -ConditionalCompany "Aplusnb" -EnabledEmailAddressTemplates "SMTP:@aplusnb.cn"

Update-EmailAddressPolicy -Identity Aplusnb

get-mailbox | select name,windowsemailaddress,EmailAddresses,database


4)Configuring connectors

1. Send Connector:

New-SendConnector -Name "Send To Internet" -Internet -AddressSpaces "*" -DNSRoutingEnabled:$TRUE -SourceTransportServers "SEN-Ex01"

2.Configure ReceiveConnector:

Get-ReceiveConnector –Server SEN-Ex01

Get-ReceiveConnector “Default SEN-Ex01” | select Identity,PermissionGroups

Get-ReceiveConnector “Default SEN-Ex01” | Set-ReceiveConnector -PermissionGroups AnonymousUsers, ExchangeUsers, ExchangeServers, ExchangeLegacyServers

Get-ReceiveConnector


5) Configuring SSL certificates

$Data = New-ExchangeCertificate -FriendlyName "SEN-Ex01_Certificate" -GenerateRequest -SubjectName "c=CN, o=NOS, cn=mail.sen.hi.cn" -DomainName mail.sen.hi.cn,autodiscover.sen.hi.cn,mail.aplusnb.cn,autodiscover.aplusnb.cn,sen-ex01.sen.hi.cn,sen-ex01,localhost  -PrivateKeyExportable $true

Set-Content -path "\\Sen-Ex01\C$\SEN-Ex01CertRequest.req.txt" -Value $Data

You can use the contents of the Exch01CertRequest.req.tx file to request an SSL certificate from a certificate authority (CA),open web:    
To Request an SSL Certificate and save to \\SEN-Ex01\C$\SEN-Ex01certnew.cer

Import-ExchangeCertificate –Server Exch01 -FileData ([Byte[]]$(Get-Content -Path "\\SEN-Ex01\C$\SEN-Ex01certnew.cer" -Encoding byte -ReadCount 0)) | Enable-ExchangeCertificate –Server SEN-Ex01  -Services "IIS,POP,IMAP,SMTP"

6)Configuring Outlook Anywhere