Examples/Resources/SPProjectServerPermissionMode/1-SPMode.ps1

<#
.EXAMPLE
    This example shows how to a specific PWA site to use SharePoint permission mode.
#>


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

    node localhost {
        SPProjectServerPermissionMode PermissionMode
        {
            Url                  = "http://projects.contoso.com"
            PermissionMode       = "SharePoint"
            PsDscRunAsCredential = $SetupAccount
        }
    }
}