-
Notifications
You must be signed in to change notification settings - Fork 107
SPProjectServerWssSettings
dscbot edited this page Mar 17, 2023
·
12 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Url | Key | String | The default zone URL of the Project site to set WSS settings for | |
CreateProjectSiteMode | Required | String | How should new SharePoint sites be created? |
AutoCreate , UserChoice , DontCreate
|
Type: Distributed Requires CredSSP: No
This resource is used to control settings that relate to the SharePoint sites that are linked to projects in Project Server.
NOTE: The account you use to run this resource (through PsDscRunAsCredential properties) needs to have elevated rights to execute this resource. It is recommended to use the SharePoint Farm Account for this purpose to avoid receiving a "GeneralSecurityAccessDenied" error.
This example demonstrates how to set WSS settings for a PWA site
Configuration Example
{
param
(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost
{
SPProjectServerWssSettings WssSettings
{
Url = "http://projects.contoso.com/pwa"
CreateProjectSiteMode = "AutoCreate"
PsDscRunAsCredential = $SetupAccount
}
}
}
- Home
- Getting Started
- Pre-requisites
- Installing the module
- Exporting SharePoint Configuration
- Creating Configuration Files
- Pre-created Examples
- Creating an Azure development environment
- Understanding Resources & Syntax
- Remote PowerShell Authentication
- Contributing to SharePointDsc
- Other useful modules for SharePoint DSC configurations