-
Notifications
You must be signed in to change notification settings - Fork 149
xIisHandler
Johan Ljunggren edited this page Dec 6, 2023
·
2 revisions
Important
This resource has been renamed in the latest release, see IisHandler. Bug fixes and new functionality will only be added to the renamed resource.
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name | Key | String | The name of the handler, for example 'PageHandlerFactory-Integrated-4.0' | |
Ensure | Required | String | Ensures that the handler is Present or Absent. Defaults to Present. |
Present , Absent
|
Please use WebApplicationHandler resource instead. xIISHandler will be removed in future release.
- Target machine must be running Windows Server 2012 R2 or later.
All issues are not listed here, see here for all open issues.
configuration Sample_xIisHandler_Remove32Bit
{
param
(
# Target nodes to apply the configuration
[string[]]$NodeName = 'localhost'
)
# Import the module that defines custom resources
Import-DscResource -Module xWebAdministration, PSDesiredStateConfiguration
Node $NodeName
{
# Install the IIS role
WindowsFeature IIS
{
Ensure = 'Present'
Name = 'Web-Server'
}
xIisHandler aspq_ISAPI_4_0_32bit
{
Name = 'aspq-ISAPI-4.0_32bit'
Ensure = 'Absent'
}
xIisHandler cshtm_ISAPI_4_0_32bit
{
Name = 'cshtm-ISAPI-4.0_32bit'
Ensure = 'Absent'
}
xIisHandler cshtml_ISAPI_4_0_32bit
{
Name = 'cshtml-ISAPI-4.0_32bit'
Ensure = 'Absent'
}
xIisHandler vbhtm_ISAPI_4_0_32bit
{
Name = 'vbhtm-ISAPI-4.0_32bit'
Ensure = 'Absent'
}
xIisHandler vbhtml_ISAPI_4_0_32bit
{
Name = 'vbhtml-ISAPI-4.0_32bit'
Ensure = 'Absent'
}
}
}
- 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