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…
- Open the SharePoint Management Shell
Run the following command (entering the name of your own database server and configuration database name):
Connect-SPConfigurationDatabase -DatabaseServer “<DatabaseServer>” -DatabaseName “<DatabaseName>”
- Enter the passphrase when prompted
Run the following commands:
- Install-SPHelpCollection -All
- Install-SPFeature -AllExistingFeatures
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
Categories: powershell script, Servers
You must be logged in to post a comment.