Skip to content

SPServiceAppPool

Brian Farnhill edited this page Jun 2, 2016 · 18 revisions

Parameters

Parameter Attribute DataType Description Allowed Values
Name Key string The name of application pool
ServiceAccount Required string The name of the managed account to run this service account as
Ensure Write string Present if the service app pool 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 is used for provisioning an application pool that can be used for service applications. The account used for the service account must already be registered as a managed account (which can be provisioned through SPManagedAccount).

Example

SPServiceAppPool MainServiceAppPool
{
    Name           = "SharePoint Service Applications"
    ServiceAccount = "Demo\ServiceAccount"
    InstallAccount = $InstallAccount
    Ensure         = "Present"
}
Clone this wiki locally