Unlock-IisBasicAuthentication

Unlocks basic authentication IIS configuration so that sites can enable/disable basic authentication.

Syntax

Unlock-IisBasicAuthentication [-WhatIf] [-Confirm] [<CommonParameters>]

Description

By default, IIS locks the basic authentication configuration, so that no sites can enable it. This function unlocks it so Windows authentication can be enabled. Specifically, it unlocks the system.webServer/security/authentication/basicAuthentication IIS configuration section.

Parameters

Name Type Description Required? Pipeline Input Default Value
WhatIf SwitchParameter false false
Confirm SwitchParameter false false
CommonParameters This cmdlet supports common parameters. For more information type
Get-Help about_CommonParameters.

EXAMPLE 1

Unlock-IisBasicAuthentication

Unlocks basic authentication configuration so that websites can enable, configure and use basic authentication.