SPProjectServerUserSyncSettings - dsccommunity/SharePointDsc GitHub Wiki
Parameters
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| Url | Key | String | The default zone URL of the Project site to set user sync settings for | |
| EnableProjectSiteSync | Required | Boolean | Enable Project Site Sync | |
| EnableProjectSiteSyncForSPTaskLists | Required | Boolean | Enable Project Site Sync for SharePoint Task List Projects | |
| EnableProjectWebAppSync | Required | Boolean | Enable Project Web App Sync |
Description
Type: Distributed Requires CredSSP: No
This resource is responsible for configuration of the user sync settings between projects and project sites.
Examples
Example 1
This example demonstrates how to set user sync settings for a PWA site
Configuration Example
{
param
(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost
{
SPProjectServerUserSyncSettings UserSyncSettings
{
Url = "http://projects.contoso.com/pwa"
EnableProjectWebAppSync = $true
EnableProjectSiteSync = $true
EnableProjectSiteSyncForSPTaskLists = $true
PsDscRunAsCredential = $SetupAccount
}
}
}