Get-Web
Configuration
Lock
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.
Required Parameters
Specifies an XPath filter expression. This expression can be in XPath format.
Type: | String[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Optional Parameters
Specifies the location of the IIS configuration setting.
Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Specifies an IIS configuration path in the format computer name/webroot/apphost.
Type: | String[] |
Position: | 1 |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |