Sharepoint 2013 : Install Without a Product Key in the Configuration File, Configure a New SharePoint Farm

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

1. Install Without a Product Key in the Configuration File

For security purposes, you might not want to store the product key within the configuration file. Instead, you can use the -PIDKey parameter, followed by your product key in quotes on the command line with the Install-SharePoint cmdlet, as in Listing 1.

Listing 1. Installing SharePoint from the Command Line with a Product Key

Install-SharePoint -setupexepath D:\setup.exe -configxmlpath

2. Configure a New SharePoint Farm

Scenario/Problem: You need to configure a new SharePoint farm from the command line.

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

The New-SharePointFarm cmdlet enables you to configure a new SharePoint farm on the server. The syntax follows:

New-SharePointFarm -databaseserver <server name>
-databaseaccessaccount (Get-Credential <domain\account>)
-farmname <name of new farm>
-passphrase (ConvertTo-SecureString -asplaintext -force -string "Enter a farm pass phrase here")

This command requires credentials for the database server. Therefore, the Get-Credential PowerShell command is used in conjunction with New-SharePointFarm. After you enter the command, PowerShell prompts you for the password of the database access account entered, as in Figure 1.


Figure 1. Using Get-Credential prompts for the corresponding password.


Use inline credentials instead of (Get-Credential).

After you enter the credentials, the new farm is configured using the database server entered. This essentially creates the SharePoint_Config database and prepares the farm for use.


The farm passphrase is a password that is used when you are adding new servers to the farm or making farm configuration changes. It needs to be entered into the cmdlet as a secure string; therefore, the ConvertTo-SecureString cmdlet is also used in conjunction with New_SharePointFarm.

  •  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
  •  ASP.NET 4 in VB 2010 : Logging Exceptions (part 4) - Retrieving Log 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