DEV Community

Miguel Isidoro
Miguel Isidoro

Posted on • Originally published at on

How to install a SharePoint 2016 farm using PowerShell and AutoSPInstaller (Part 1)

The post How to install a SharePoint 2016 farm using PowerShell and AutoSPInstaller (Part 1) appeared first on Blog IT.


This post is the first part of a two part series where I will talk about a great way to install SharePoint in a fully automated way using PowerShell.


Installing a SharePoint farm can be a complex task and the installation process is composed by a series of steps:

  • Downloading and installing SharePoint prerequisites
  • Downloading and installing the SharePoint binaries
  • Downloading and installing the lastest SharePoint updates
  • Downloading and installing the required language packs (optional, necessary if you want the SharePoint interface to be presented in a language other than English)
  • Configuring the SharePoint farm using SharePoint Products and Configuration Wizard

All the above steps are time consuming and can be error prone if, for example, you miss to download any of the prerequisites.

Fortunately, it is possible to fully automate a SharePoint farm installation using PowerShell by using a script called AutoSPInstaller. The installation process can be divided in two major steps:

  • Downloading the SharePoint installation package
  • Installing SharePoint and configuring the SharePoint farm

This process can be used for the following versions of SharePoint:

  • SharePoint 2010
  • SharePoint 2013
  • SharePoint 2016
  • SharePoint 2019 (still in Preview - to learn more about all the upcoming features in SharePoint 2019, click here)

In this post, I will talk about the first part of the process: downloading the SharePoint installation package and I will use SharePoint 2016 as an example.

To know the complete details about the first part of the process (downloading the SharePoint installation package), click here.

Happy SharePointing!

Top comments (0)