en-US/about_SPProjectServerServiceApp.help.txt

.NAME
    SPProjectServerServiceApp
 
# Description
     
    **Type:** Distributed
    **Requires CredSSP:** No
     
    This resource is responsible for provisioning and managing the Project Server
    service application in SharePoint Server 2016 or 2019.
     
    To create a Project Server site the following DSC resources can
    be used to create the site and enable the feature.
     
        SPSite PWASite
        {
            Url = "http://projects.contoso.com"
            OwnerAlias = "CONTOSO\ExampleUser"
            HostHeaderWebApplication = "http://spsites.contoso.com"
            Name = "PWA Site"
            Template = "PWA#0"
            PsDscRunAsCredential = $SetupAccount
        }
     
        SPFeature PWASiteFeature
        {
            Name = "PWASITE"
            Url = "http://projects.contoso.com"
            FeatureScope = "Site"
            PsDscRunAsCredential = $SetupAccount
            DependsOn = "[SPSite]PWASite"
        }
     
.PARAMETER Name
    Key - string
    The name of the service application
 
.PARAMETER ApplicationPool
    Required - string
    The name of the application pool to run the service app in
 
.PARAMETER ProxyName
    Write - string
    The name of the Project Server Service Application Proxy
 
.PARAMETER Ensure
    Write - string
    Allowed values: Present, Absent
    Present if the service app should exist, absent if it should not
 
.PARAMETER InstallAccount
    Write - String
    POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5
 
 
.EXAMPLE
    This example shows how to create a new project server services service app
    in the local farm
 
 
    Configuration Example
    {
        param(
            [Parameter(Mandatory = $true)]
            [PSCredential]
            $SetupAccount
        )
        Import-DscResource -ModuleName SharePointDsc
 
        node localhost {
            SPProjectServerServiceApp ProjectServiceApp
            {
                Name = "Project Server Service Application"
                ApplicationPool = "SharePoint Web Services"
                PsDscRunAsCredential = $SetupAccount
            }
        }
    }
 
 
.EXAMPLE
    This example shows how to remove a project server service app in the local farm.
    The ApplicationPool property is still required but is not used when removing, so
    the value used here doesn't matter.
 
 
    Configuration Example
    {
        param(
            [Parameter(Mandatory = $true)]
            [PSCredential]
            $SetupAccount
        )
        Import-DscResource -ModuleName SharePointDsc
 
        node localhost {
            SPProjectServerServiceApp ProjectServiceApp
            {
                Name = "Project Server Service Application"
                ApplicationPool = "n/a"
                Ensure = "Absent"
                PsDscRunAsCredential = $SetupAccount
            }
        }
    }