dsc/ext/PsGallery/xWebAdministration.1.17.0.0/Tests/Integration/MSFT_xIISFeatureDelegation.config.ps1

configuration MSFT_xIISFeatureDelegation_AllowDelegation
{
    Import-DscResource -ModuleName xWebAdministration

    xIisFeatureDelegation AllowDelegation
    {
        SectionName = 'security/authentication/anonymousAuthentication'
        OverrideMode = 'Allow'
    }
}

configuration MSFT_xIISFeatureDelegation_DenyDelegation
{
    Import-DscResource -ModuleName xWebAdministration

    xIisFeatureDelegation DenyDelegation
    {
        SectionName = 'defaultDocument'
        OverrideMode = 'Deny'
    }
}