Skip to content

SPProjectServerAdditionalSettings

Yorick Kuijs edited this page Dec 27, 2017 · 12 revisions

SPProjectServerAdditionalSettings

Parameters

Parameter Attribute DataType Description Allowed Values
Url Key string The default zone URL of the Project site to manage settings at
ProjectProfessionalMinBuildNumber Write string What is the minimum build number for the Project Professional client that can connect?
ServerCurrency Write string What is the default server currency?
EnforceServerCurrency Write boolean Should all projects be forced to use the server currency?
InstallAccount Write PSCredential POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5

Description

This resource is used to manage the "additional settings" for a PWA instance (based on what is in the 'additional settings' page of the web interface).

Examples

Example 1

This example shows how to apply additional settings to the PWA site

Configuration Example 
{
    param(
        [Parameter(Mandatory = $true)]
        [PSCredential]
        $SetupAccount
    )
    Import-DscResource -ModuleName SharePointDsc

    node localhost 
    {
        SPProjectServerAdditionalSettings Settings
        {
            Url                   = "http://projects.contoso.com/pwa"
            ServerCurrency        = "AUD"
            EnforceServerCurrency = $true 
            PsDscRunAsCredential  = $SetupAccount
        }
    }
}

Clone this wiki locally