Install SharePoint Unattended
Scenario/Problem: You need to install SharePoint from PowerShell.
Solution: Use the Install-SharePoint
cmdlet from the SPModule
.
The first step in unattended installation and configuration is to install SharePoint onto the server. The SPModule
provides the Install-SharePoint
cmdlet to perform the installation. This cmdlet is used in conjunction with a setup configuration file that contains the installation parameters.
The SharePoint installation disc includes sample setup configuration files, located in their own folder within Files
, as shown in Figure 3.1. Listing 3.2 shows an example of the configuration file contents.
Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.