Pages

Monday, June 20, 2016

Installation of Exchange Server 2016 using PowerShell

Hello Guys today I am going to discuss about installation process of Exchange Server 2016 using PowerShell commands. You can install it using setup wizard too, it depends up to you for going through any installation procedure. In this post we are about to discuss Exchange server installation process in two parts. The first part will be about configuration of Active Directory and second part will be about installing Mailbox Server Role.
Exchange 2016 Installation is in Windows Server 2012 R2 is really an easy task to perform. Before going for installation, it is require to check the prerequisites first.
Before starting the installation process we must care about few necessary things:
  1. Create backup of Active Directory first, because if any error occurs during Installation then it will be easy for you to restore AD.
  2. In case of first time installation of Exchange Server in a forest you have to choose Organization name carefully, because name can’t be changed in future therefore you have to go with it for always.

Configuring Active Directory for Installation of Exchange 2016

Before installation of Exchange 2016, you should go for cumulative update of Exchange Server and then prepare Active Directory domains for installation. All updates of Active Directory would be applied automatically when installation setup of exchange server would start. Make sure that RSAT-ADDS (Remote Server Administration Tool – Active Directory Domain Services) is installed and you have also installed the latest version of Dot NET Framework. If RSAT-ADDS is not installed then run below command in PowerShell for installation but before going to run below command make sure that your account is member of Enterprise Admins and Schema Admins group.
Install-WindowsFeature RSAT–ADDS
Before running above command make sure that your account is located in same Active Directory in which schema master is also located. You can check the schema master of your account by running below command.
(Get-ADForest).SchemaMaster
Now extract Exchange Server 2016 setup into a folder. Run CD “folder location with folder name” command in command prompt to navigate the extracted setup folder. Now you have to apply the schema update, so run below command in CMD (Command Prompt.
setup /PrepareSchema /IacceptExchangeServerLicenseTerms
Now its time for preparation of Active Directory. Now look for your exchange Organization name, if there is not any exchange organization name then prepare a new one and make sure that you are typing correct name of organization because later on you can’t change it. Organization name will be applied for always. Run below command for Active Directory Prepration.
setup /PrepareAD /OrganizationName: “Your Organization Name” /IacceptExchangeServerLicenseTerms
If you have already setup of of Organization Name then you need not to specify Organization name in above command.

Exchange 2016 Mailbox Server Role Installation

Mailbox Server Role contains almost everything for running the exchange server. There are following databases & policies will be installed and some features will be provided with installation of Mailbox server role.
  • Host Mailbox Database
  • Host Public Folder Database
  • Provide Email storage space
  • Calculate Email Policies
  • Generate contacts and Ofline Address Blooks
  • Multiple-mailbox search facility
  • High Availability & Site Resiliency (DAG)
  • Content Indexing
  • Message Record Management (MRM) and its retention policies
Run below command for installation of Mailbox Server Role:
setup /Mode:Install /Role:Mailbox /IacceptExchangeServerLicenseTerms

Conclusion

We discussed about installation process of Exchange 2016 in two different phases. In first phase we discussed about configuration of Active Directory and in second phase discussed about Mailbox Server Role Installation. We seen installation of exchange server 2016 using PowerShell commands but its not the only way which you can go through. You can go for installation with exchange server setup wizard too. Each way is really easy if everything is configured well.
As you might have read my last post in which I had posted about Edge Transport Server Planning and configuration for Internet mail flow. After Installation Mailbox Server Role which we discussed in this post you can go for Installation of Edge Transport Server by clicking on above link.
Keep reading my blog for Exchange Server to learn more about Exchange serve and Office 365.

     

0 comments:

Post a Comment

Post a reply