Get-WebConfigurationLock
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[] |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Location
Specifies the location of the IIS configuration setting.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-PSPath
Specifies an IIS configuration path in the format computer name/webroot/apphost.
Type: | String[] |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈