-
Notifications
You must be signed in to change notification settings - Fork 150
xWebAppPoolDefaults
dscbot edited this page May 29, 2022
·
2 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
IsSingleInstance | Key | String | Specifies the resource is a single instance, the value must be 'Yes' | Yes |
ManagedRuntimeVersion | Write | String | applicationPools/applicationPoolDefaults/managedRuntimeVersion | ``, v2.0 , `v4.0` |
IdentityType | Write | String | applicationPools/applicationPoolDefaults/processModel/identityType |
ApplicationPoolIdentity , LocalService , LocalSystem , NetworkService
|
The xWebAppPoolDefaults
DSC resource is used to...
- Target machine must be running Windows Server 2012 R2 or later.
All issues are not listed here, see here for all open issues.
An example of configuring the application pool default settings. This examples show how to use xWebAppPoolDefaults for configuring the application pool default settings. The resource is currently limited to configuring the managed runtime version and the identity used for the application pools.
Configuration Sample_xWebAppPoolDefaults
{
param
(
# Target nodes to apply the configuration
[string[]]$NodeName = 'localhost'
)
# Import the module that defines custom resources
Import-DscResource -Module xWebAdministration, PSDesiredStateConfiguration
Node $NodeName
{
# Configures the application pool defaults.
xWebAppPoolDefaults PoolDefaults
{
IsSingleInstance = 'Yes'
ManagedRuntimeVersion = 'v4.0'
IdentityType = 'ApplicationPoolIdentity'
}
}
}
- Home
- IisFeatureDelegation
- IisLogging
- IisMimeTypeMapping
- IisModule
- SslSettings
- WebApplication
- WebApplicationHandler
- WebAppPool
- WebAppPoolDefaults
- WebConfigProperty
- WebConfigPropertyCollection
- WebSite
- WebSiteDefaults
- WebVirtualDirectory
- xIisFeatureDelegation
- xIisHandler
- xIisLogging
- xIisMimeTypeMapping
- xIisModule
- xSslSettings
- xWebApplication
- xWebAppPool
- xWebAppPoolDefaults
- xWebConfigKeyValue
- xWebConfigProperty
- xWebConfigPropertyCollection
- xWebSite
- xWebSiteDefaults
- xWebVirtualDirectory