Connect a server to a farm using powershell – SharePoint 2013 or 2010

Log onto each additional server that you wish to join into the farm

Open the  ”SharePoint 2010 Management Shell”  administratively (right-click and select “Run as administrator”). The shell will load with a message that the local farm is not accessible. This is expected as we have only installed the binaries.
Connect the server to the farm with the following command:

 

Make sure to use the same database names and database server names.

1.  Install the help files.

 

2. Secure the resources used by the server (files and registry).

 

3.  Install and provision the farm services.

 

4.  Install the features on the server.

 

5.   Install the application content.

 

Development farm Optional: Disable the loopback check. If this is a development install, outright disabling the check should be fine. For production environments, the loopback check should be left in place and BackConnectionHostNames should be used in its place. See KB 896861

 

 

6. Start the SharePoint Timer

Leave a Reply