-
Notifications
You must be signed in to change notification settings - Fork 107
SPPowerPointAutomationServiceApp
dscbot edited this page Mar 17, 2023
·
8 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name | Key | String | The name of the service application | |
ProxyName | Write | String | The name of the service application proxy | |
ApplicationPool | Write | String | The name of the application pool to run the service app in | |
CacheExpirationPeriodInSeconds | Write | UInt32 | Specifies the maximum time, in seconds, that items remain in the back-end server cache. The default value is 600 seconds (10 minutes). | |
MaximumConversionsPerWorker | Write | UInt32 | Specifies the maximum number of presentations that a conversion worker process can convert before recycling. The default value is 5. | |
WorkerKeepAliveTimeoutInSeconds | Write | UInt32 | Specifies the maximum time, in seconds, that a conversion worker process can be unresponsive before being terminated. The default value is 120 seconds. | |
WorkerProcessCount | Write | UInt32 | Specifies the number of active instances of the conversion worker process on each back-end. This value must be less than the Windows Communication Foundation (WCF) connection limit for this computer. The default value is 3. | |
WorkerTimeoutInSeconds | Write | UInt32 | Specifies the maximum time, in seconds, that a conversion worker process is given for any single conversion. The default is 300 seconds (5 minutes). | |
Ensure | Write | String | Ensure the crawl rule is Present or Absent |
Present , Absent
|
Type: Distributed Requires CredSSP: No
This resource is responsible for creating PowerPoint Automation Service Application instances within the local SharePoint farm. The resource will provision and configure the PowerPoint Automation Service Application.
The default value for the Ensure parameter is Present. When not specifying this parameter, the service application is provisioned.
This example makes sure the service application exists and has a specific configuration
Configuration Example
{
param
(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost
{
SPPowerPointAutomationServiceApp PowerPointAutomation
{
Name = "PowerPoint Automation Service Application"
ProxyName = "PowerPoint Automation Service Application Proxy"
CacheExpirationPeriodInSeconds = 600
MaximumConversionsPerWorker = 5
WorkerKeepAliveTimeoutInSeconds = 120
WorkerProcessCount = 3
WorkerTimeoutInSeconds = 300
ApplicationPool = "SharePoint Web Services"
Ensure = "Present"
PsDscRunAsCredential = $SetupAccount
}
}
}
This example removes a word automation service app
Configuration Example
{
param
(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost
{
SPPowerPointAutomationServiceApp WordAutomation
{
Name = "PowerPoint Automation Service Application"
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