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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour