Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-WebConfigurationLock

Last Updated: 4/3/2017

SYNOPSIS

Gets the lock status of an IIS configuration location.

SYNTAX

Get-WebConfigurationLock [-Location <String[]>] [-Filter] <String[]> [[-PSPath] <String[]>]
 [<CommonParameters>]

DESCRIPTION

The Get-WebConfigurationLock cmdlet gets the locking status of the specified Internet Information Services (IIS) configuration location.

EXAMPLES

Example 1: Get the locking status of an IIS configuration

IIS:\> Get-WebConfigurationLock -Filter "//asp" -PSPath "IIS:\"

This command returns the locking status of the asp IIS configuration section.

PARAMETERS

-Filter

Specifies an XPath filter expression. This expression can be in XPath format.

Type: String[]
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Location

Specifies the location of the IIS configuration setting.

Type: String[]
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-PSPath

Specifies an IIS configuration path in the format computer name/webroot/apphost.

Type: String[]
Parameter Sets: (All)
Aliases: 

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Add-WebConfigurationLock

Remove-WebConfigurationLock

© 2017 Microsoft