Prepare the Microsoft SharePoint Installation Module

Scenario/Problem: You need to have access to extended SharePoint installation commands within PowerShell.

Solution: Download and install the SPModule from Microsoft.

Before you can install SharePoint from within PowerShell, you need to download and install the SPModule code from Microsoft. The downloadable file is located at www.microsoft.com/downloads/en/details.aspx?FamilyID=c57556ff-8df0-44fd-aba6-3df01b9f80ce (or search for “SPModule PowerShell”).

Unzip the file and place it into a local folder. Add this folder to the PSModulePath environment variable. The code is unsigned, so you must allow unsigned scripts to run. See Chapter 2, “PowerShell Basics,” for steps on adding an environment ...

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.