programming4us
programming4us
WEBSITE

Sharepoint 2013 : Join a Server to the SharePoint Farm, Create a New Web Application, Create a New Site Collection

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

1. Join a Server to the SharePoint Farm


Scenario/Problem: You need to join the servers to the new SharePoint farm.


Solution: Use the Join-SharePointFarm cmdlet from the SPModule.

The previous cmdlet (New-SharePointFarm) created the database and configured the SharePoint farm. You cannot run this again on the other servers. Instead, you need to join the servers to the farm using the Join-SharePointFarm cmdlet:

Join-SharePointFarm -databaseserver <database server name>
-configurationdatabasename <config database>
-passphrase (ConvertTo-SecureString -asplaintext -force -string
"<farm pass phrase>")

The farm passphrase used with the Join-SharePointFarm cmdlet should be the same passphrase used when you are creating the new SharePoint farm.

2. Create a New Web Application


Scenario/Problem: You need to create a new web application for the SharePoint farm.


Solution: Use the New-SPWebApplication cmdlet from the SharePoint 2013 Management Shell.

You can now use the SharePoint 2013 Management Shell because SharePoint has been installed and the SPModule commands have been utilized. If you are running a full script and/or still want to use the PowerShell console, be sure to add the SharePoint snap-in (Add-PsSnapin Microsoft.SharePoint.PowerShell) so that the SharePoint cmdlets are available.

To add a new web application, use the New-SPWebApplication cmdlet as follows:

New-SPWebApplication -applicationpool <name of new application pool>
-name <name of new web app>
-applicationpoolaccount <service account to be used for the
application pool> -port <desired port number>

Listing 1 shows a sample command-line entry for creating the main SharePoint web application.

Listing 1. Creating a New Web Application


New-SPWebApplication -applicationpool SharePoint-80
-name SharePoint-80 -applicationpoolaccount SP\AppPoolAccount -port 80


This process might take a few minutes. When it completes, the console presents the display name and the URL of the new web application.


Tip

If you do not include the port number, a random port number will be assigned. The first web application created will use port 80.


3. Create a New Site Collection


Scenario/Problem: You need to create a new top-level site collection.


Solution: Use the New-SPSite cmdlet from the SharePoint 2013 Management Shell.

To add a new site collection, use the New-SPSite cmdlet as follows:

New-SPSite -url <full url of new site collection>
-name <name of new site collection>
-owneralias <site collection administrator>
-template <site collection template to use>

Listing 2 shows a sample command-line entry for creating the root site collection using the Team Site template.

Listing 2. Creating the Root Top-Level Site Collection


New-SPSite -url http://sp2013/ -name Home -owneralias SP\SiteAdmin
-template STS#0


You can find the site template names using Get-SPWebTemplate. If no template is provided, the site collection is still created. In this case, after the site is accessed via the browser, SharePoint prompts for the selection of a site collection template.

Other  
  •  Sharepoint 2013 : Install Without a Product Key in the Configuration File, Configure a New SharePoint Farm
  •  Sharepoint 2013 : Prepare the Microsoft SharePoint Installation Module , Install SharePoint Unattended
  •  Sharepoint 2010 : Putting Your Site on the Web - Additional Features
  •  Sharepoint 2010 : Putting Your Site on the Web - Key Terms and Architecture , Richer User Experience
  •  Sharepoint 2010 : Putting Your Site on the Web - Web Content Management (part 2) - Web Publishing 101
  •  Sharepoint 2010 : Putting Your Site on the Web - Web Content Management (part 1)
  •  Sharepoint 2010 : Using an External Data Column, Building a Composite Application
  •  ASP.NET 4 in VB 2010 : Page Tracing (part 3) - Application-Level Tracing
  •  ASP.NET 4 in VB 2010 : Page Tracing (part 2) - Writing Trace Information
  •  ASP.NET 4 in VB 2010 : Page Tracing (part 1) - Enabling Tracing, Tracing Information
  •  
    Top 10
    Free Mobile And Desktop Apps For Accessing Restricted Websites
    MASERATI QUATTROPORTE; DIESEL : Lure of Italian limos
    TOYOTA CAMRY 2; 2.5 : Camry now more comely
    KIA SORENTO 2.2CRDi : Fuel-sipping slugger
    How To Setup, Password Protect & Encrypt Wireless Internet Connection
    Emulate And Run iPad Apps On Windows, Mac OS X & Linux With iPadian
    Backup & Restore Game Progress From Any Game With SaveGameProgress
    Generate A Facebook Timeline Cover Using A Free App
    New App for Women ‘Remix’ Offers Fashion Advice & Style Tips
    SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
    - Messages forwarded by Outlook rule go nowhere
    - Create and Deploy Windows 7 Image
    - How do I check to see if my exchange 2003 is an open relay? (not using a open relay tester tool online, but on the console)
    - Creating and using an unencrypted cookie in ASP.NET
    - Directories
    - Poor Performance on Sharepoint 2010 Server
    - SBS 2008 ~ The e-mail alias already exists...
    - Public to Private IP - DNS Changes
    - Send Email from Winform application
    - How to create a .mdb file from ms sql server database.......
    programming4us programming4us
    programming4us
     
     
    programming4us