Upgrade-SPProjectWebInstance

 

Applies to: SharePoint Server 2010, Project Server 2010

Topic Last Modified: 2011-07-11

Upgrades a single Microsoft Project Web App site.

Syntax

Upgrade-SPProjectWebInstance -Url <String> [-AssignmentCollection <SPAssignmentCollection>]

Detailed Description

Use the Upgrade-SPProjectWebInstance cmdlet to apply upgrade changes to a single Project Web App site within a Microsoft SharePoint Server 2010 farm.

If you apply an update to Microsoft Project Server 2010, applying the update only updates the binaries on the server, until you run PSConfig. If you do not run PSConfig, and run the Upgrade-SPProjectWebInstance cmdlet instead, it will upgrade the Project Server 2010 databases that are associated with the specified PWA instance to match the version of the updated binaries.

Note

Upgrade-SPProjectWebInstance only upgrades the Project Server 2010 databases. It does not upgrade any SharePoint Server 2010 databases.

Parameters

Parameter Required Type Description

Url

Required

System.String

Specifies the location of the Project Web App instance where the upgrade changes are to be applied.

AssignmentCollection

Optional

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

Note

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

Input Types

Return Types

Example

--------------------EXAMPLE------------------------

Upgrade-SPProjectWebInstance - Url "https://servername/pwa"

This example upgrades the Project Server 2010 databases associated with the Project Web App instance at the specified URL.