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 in this script, you can automate the creation of an entire custom farm and have more control over the entire farm creation process. Modifying variables and customizing the commandlets illustrated in the script can enable further customization.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset