Month: June 2018

Microsoft Exchange Server 2016 – Product Key Command Line Configuration

You may use the following Microsoft Exchange Management Shell (EMS) cmdlet to enter the product key for Microsoft Exchange Server 2016.

Set-ExchangeServer –identity ‘<server>’ -ProductKey <product key>


Microsoft Exchange Server 2016 – Send Connector Command Line Configuration

The Send Connector in Microsoft Exchange Server 2016 is am object that contains the configuration information for sending email from the Exchange organization. You may use the following commands in the Microsoft Exchange Management Shell (EMS) to configure a send connector for all outbound traffic.

New-SendConnector -name “Default Internet”
-AddressSpaces “*” -DNSRoutingEnabled $true
-SourceTransportServers “Server” -Usage Internet


Microsoft Exchange Server 2016 – Email Address Policy Command Line Configuration

You may use the following commands in the Microsoft Exchange Management Shell (EMS) to create and configure an email address policy in Microsoft Exchange Server 2016.

New-EmailAddressPolicy -Name PolicyName
-EnabledPrimarySMTPAddressTemplate “SMTP:%g.%[email protected]
-IncludedRecipients AllRecipients -Priority 1 |
Update-EmailAddressPolicy


Microsoft Exchange Server 2016 – SMTP Domain Command Line Configuration

By default Microsoft Exchange Server 2016 configures a default accepted domain and email address policy using the fully qualified domain name (FQDN) of the Microsoft Active Directory (AD) domain into which it is installed. If necessary, you may use the following commands in the Microsoft Exchange Management Shell (EMS) to create an SMTP domain for Microsoft Exchange Server 2016. Note that you may change the -MakeDefault value to $false if you do not want it to be used as the default SMTP domain for the email address.

New-AcceptedDomain -Name domain.com
-DomainName *.domain.com
-DomainType authoritative |
Set-AcceptedDomain -MakeDefault $true


Microsoft Exchange Server 2016 – Offline Address Book Command Line Configuration

You may use the following command in Microsoft Exchange Management Shell (EMS) to associate the default Offline Address Book (OAB) with the mailbox database(s).

Get-MailboxDatabase | Set-MailboxDatabase -OfflineAddressBook “\Default Offline Address Book”


Microsoft Exchange Server 2016 – Mailbox Server Role Command Line Installation

You may use the following commands to install the Microsoft Exchange Server 2016 Mailbox Server role from the command line.

Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
Setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms /OrganizaionName:
“<Organization Name>”
Setup.exe /mode:install /role:Mailbox /IAcceptExchangeServerLicenseTerms