-
Notifications
You must be signed in to change notification settings - Fork 107
SPPerformancePointServiceApp
dscbot edited this page Mar 17, 2023
·
19 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name | Key | String | The name of the service application | |
ProxyName | Write | String | The proxy name, if not specified will be /Name of service app/ Proxy | |
ApplicationPool | Required | String | The name of the application pool to run the service app in | |
DatabaseName | Write | String | The name of the database for the service app | |
DatabaseServer | Write | String | The name of the database server to host the database | |
Ensure | Write | String | Present ensures service app exists, absent ensures it is removed |
Present , Absent
|
UseSQLAuthentication | Write | Boolean | Should SQL Server authentication be used to connect to the database? | |
DatabaseCredentials | Write | PSCredential | If using SQL authentication, the SQL credentials to use to connect to the instance |
Type: Distributed Requires CredSSP: No
This resource is responsible for creating Performance Point Service Application instances within the local SharePoint farm. The resource will provision and configure the Performance Point Service Application.
The default value for the Ensure parameter is Present. When not specifying this parameter, the service application is provisioned.
This example creates a new performance point service app in the local farm.
Configuration Example
{
param
(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost
{
SPPerformancePointServiceApp PerformancePoint
{
Name = "Performance Point Service Application"
ApplicationPool = "SharePoint Web Services"
PsDscRunAsCredential = $SetupAccount
}
}
}
This example removes the specific performance point service app from the local farm. The ApplicationPool parameter is still mandatory but it is not used, so the value can be anything.
Configuration Example
{
param
(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost
{
SPPerformancePointServiceApp PerformancePoint
{
Name = "Performance Point Service Application"
ApplicationPool = "n/a"
Ensure = "Absent"
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