Add server to existing farm using powershell sharepoint2013

I am building a new 3-tier farm.  I have already configured the application and database servers and am now ready to add another which will be used as the web front end.

I have already installed the pre-requisites and binaries on the web front end server, so just need to run a few PowerShell commands to add it to the farm…

  1. Open the SharePoint Management Shell
  2. Run the following command (entering the name of your own database server and configuration database name):

Connect-SPConfigurationDatabase -DatabaseServer “<DatabaseServer>” -DatabaseName “<DatabaseName>”

  1. Enter the passphrase when prompted
  • Run the following commands:

    • Install-SPHelpCollection -All
    • Initialize-SPResourceSecurity
    • Install-SPService
    • Install-SPFeature -AllExistingFeatures
    • Install-SPApplicationContent
    add server to farm powershell

    add server to farm powershell

    You can run the following PowerShell command to list the servers in the far:

    Get-SPFarm | select Servers

    Or in Central Administration navigate to System Settings -> Manage Servers in This Farm

    add server to farm powershell

    add server to farm powershell



    Categories: Servers

    Tags: , , ,

    %d bloggers like this: