Unlock-IisCgi

Unlocks CGI IIS configuration so that websites can configure their own CGI settings.

Syntax

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

Description

By default, IIS locks the CGI section so that no websites can enable or configure it. This function unlocks CGI configuration so that websites can configure their own CGI settings. Specifically, it unlocks the system.webServer/cgi 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-IisCgi

Unlocks the CGI IIS configuration section so that websites can configure their own CGI settings.