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

    Advertisements

    Leave a Reply

    Please log in using one of these methods to post your comment:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s