Windows PowerShell cmdlets for the SharePoint Products Configuration Wizard

In SharePoint Products 2010, you can use Windows PowerShell cmdlets as an alternate interface to perform several operations that control how the SharePoint products are configured. You must be a member of the Administrators group on the local computer to perform these operations.

You run the Windows PowerShell cmdlets from the SharePoint 2010 Management Console window. To access SharePoint 2010 Management Console window, click Start, point to All Programs, point to Administrative Tools, and then click SharePoint 2010 Management Console.

The cmdlets must be run in a specific order to run successfully. If you use SharePoint Products Configuration Wizard to configure your installation, it calls the commands (also called configuration tasks) in the correct order for you. However, if you use cmdlets, you must ensure that you are performing the tasks in the correct order. The Windows PowerShell cmdlets must be performed in the following order:

  1. New-SPConfigurationDatabase
  2. Install-SPHelpCollection
  3. Initialize-SPResourceSecurity
  4. Install-SPService
  5. Install-SPFeature
  6. New-SPCentralAdministration
  7. Install-SPApplicationContent