Get-WebConfigurationLock

Gets the lock status of the specified IIS configuration location.

Syntax

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

Description

Gets the locking status of the specified IIS configuration location.

Examples

-------------- EXAMPLE 1: Get the locking status of an IIS configuration --------------

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

Returns the locking status of theaspIIS configuration section.

Required Parameters

-Filter

A filter expression. It can be in XPath format.

Type:String[]
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Location

The location of the IIS configuration setting.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PSPath

An IIS configuration path in the formatcomputer name/webroot/apphost.

Type:String[]
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False