Microsoft PowerShell for Project Server cmdlet reference

Summary: A list of Microsoft PowerShell cmdlets for Project Server 2016.
Applies to: Project Server Subscription Edition, Project Server 2019, Project Server 2016

The following table describes the PowerShell cmdlets available in Project Server.

Cmdlet name Description
Disable-ProjectServerLicense
Disables the Project Server functionality across the farm.
Disable-SPProjectActiveDirectoryEnterpriseResourcePoolSync
Disables Timer Job execution of the Active Directory Enterprise Resource Pool synchronization.
Disable-SPProjectEmailNotification
Turns off the Project Web App site level setting for email notifications.
Disable-SPProjectEnterpriseProjectTaskSync
Disables project task sync between Project Web App and project sites.
Enable-ProjectServerLicense
Enables Project Server functionality in the farm.
Enable-SPProjectActiveDirectoryEnterpriseResourcePoolSync
Enables Timer Job execution of the Active Directory Enterprise Resource Pool synchronization.
Enable-SPProjectEmailNotification
Enables Project Server functionality in the farm.
Enable-SPProjectEnterpriseProjectTaskSync
Enables project task sync between Project Web App and project sites.
Get-SPProjectEventServiceSettings
Returns the settings for the Microsoft Project Server Events Service 2016.
Get-ProjectServerLicense
Retrieves the status of the license for Project Server.
Get-SPProjectDatabaseUsage
Returns an approximate size, in megabytes (MB) of the Project Web App data used in the content database.
Get-SPProjectEnterpriseProjectTaskSync
Gets the status of project task sync between Project Web App and project sites.
Get-SPProjectIsEmailNotificationEnabled
Returns the Project Web App site level setting for email notifications.
Get-SPProjectOdataConfiguration
Returns the settings for how the OData service is configured for an instance of Project Web App.
Get-SPProjectPCSSettings
Gets the settings for the Project Calculation Engine on the Project Server 2016.
Get-SPProjectPermissionMode
Returns the permission mode for a Project Web App instance.
Get-SPProjectQueueSettings
Returns a list of all Project Server 2016 Queue settings and their current values for the specified Project Server service application.
Get-SPProjectWebInstance
Returns an instance of a Project Web App site.
Invoke-SPProjectActiveDirectoryEnterpriseResourcePoolSync
Triggers Active Directory Enterprise Resource Pool synchronization on the specified instance of Project Web App.
Invoke-SPProjectActiveDirectoryGroupSync
Manually starts the synchronization job to synchronize Project Server 2016 group membership with the specified Active Directory groups.
Migrate-SPProjectDatabase
Copies the data from the Project Server 2013 database into the corresponding SharePoint Server 2016 content database containing the migrated site collection.
Migrate-SPProjectResourcePlans
Migrates the published resource plan assignment data to engagements. Run after data migration has been completed from Project Server 2013 to Project Server 2016.
New-SPProjectServiceApplication
Creates a new Project Server service application.
New-SPProjectServiceApplicationProxy
Creates a proxy for a Project Server service application.
Pause-SPProjectWebInstance
Switches the specified instance of Project Web App to read-only, preventing any changes from being made through the Project Server 2016 PSI or CSOM.
Repair-SPProjectWebInstance
Re-queues specific Project Server 2016 queue items that may have fallen out of the queue.
Reset-SPProjectEventServiceSettings
Resets the Microsoft Project Server Events Service 2016 settings to the default values.
Reset-SPProjectPCSSettings
Resets the settings for the Project Calculation Engine on Project Server 2016.
Reset-SPProjectQueueSettings
Resets all Project Server Queue settings to their default values for a specific Project Server service application.
Resume-SPProjectWebInstance
Switches the specified instance of Project Web App to read-write mode, allowing users to change data again.
Set-SPProjectEventServiceSettings
Allows you to change the Microsoft Project Server Events Service 2016 TCP port settings.
Set-SPProjectOdataConfiguration
Sets the properties for how the OData service is configured for an instance of Project Web App.
Set-SPProjectPCSSettings
Sets the settings for the Project Calculation Engine on Project Server 2016.
Set-SPProjectPermissionMode
Changes the permission mode for a Project Web App instance. Running this cmdlet deletes all security settings and reverts to the default settings for the specified mode.
Set-SPProjectQueueSettings
Sets the value of one or multiple Project Server 2016 Queue settings for a specific Project Server service application.
Set-SPProjectServiceApplication
Sets the properties of a Project Server service application.
Set-SPProjectUserSync
Controls the behavior of WSS user sync.
Set-SPProjectUserSyncDisabledSyncThreshold
Defines the threshold over which a user sync job will not be executed but instead will be deleted. This threshold is the product of the number of projects multiplied by the number of users.
Set-SPProjectUserSyncFullSyncThreshold
Defines the threshold over which a delta user sync job will be executed as a complete user sync. This threshold is the product of the number of projects multiplied by the number of users.
Set-SPProjectUserSyncOffPeakSyncThreshold
Defines the threshold over which a full user sync job will be executed during off peak hours instead of immediately. This threshold is the product of the number of projects multiplied by the number of users.
Sync-SPProjectPermissions
Manually synchronizes permissions between a Project Web App instance and its associated project sites.
Test-SPProjectServiceApplication
Runs a serious of health checks against the Project Service Application.
Test-SPProjectWebInstance
Runs a suite of tests on an existing Project Web Instance.

See also

Microsoft PowerShell for SharePoint 2013 reference