Examining a PowerShell Script for Provisioning a Farm

When SharePoint binaries are installed in an environment, PowerShell can be used to provision any farm. The following script illustrates a way to have PowerShell create a new farm based on input from the end user and have all databases from that farm use the name of the farm in the database name, to enable multiple farms to be created in a single environment:

image

image

image

Using concepts such as those demonstrated ...

Get Microsoft SharePoint 2010 Unleashed 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.