-
Notifications
You must be signed in to change notification settings - Fork 107
SPStateServiceApp
Brian Farnhill edited this page Jun 2, 2016
·
18 revisions
Parameters
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name | Key | string | The name of the state service app | |
DatabaseCredentials | Write | String | The database credentials for accessing the database | |
DatabaseName | Required | string | The name of the database for the service app | |
DatabaseServer | Write | string | The name of the database server | |
Ensure | Write | string | Present if the service app should exist, absent if it should not | Present, Absent |
InstallAccount | Write | String | POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsAccount if using PowerShell 5 |
Description
This resource provisions an instance of the state service in to the local farm. The database specific parameters are only used during initial provisioning of the app, and will not change database settings beyond the initial deployment.
Example
SPStateServiceApp StateServiceApp
{
Name = "State Service Application"
DatabaseName = "SP_State"
Ensure = "Present"
PsDscRunAsCredential = $InstallAccount
}
- 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