powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-WebConfigurationLock



NAME
Get-WebConfigurationLock

SYNOPSIS
Gets the locking status of the specified IIS configuration location.

SYNTAX
Get-WebConfigurationLock [-Location ] [-Filter] [[-PSPath] ] [-WarningAction Preference>] [-WarningVariable ] []


DESCRIPTION
Gets the locking status of the specified IIS configuration location.


PARAMETERS
-Location
The location of the IIS configuration setting.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Filter
A filter expression. It can be in XPath format.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-PSPath
IIS configuration path to the configuration location.

Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-WarningAction


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




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

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


Returns the locking status of the IIS configuration section.






RELATED LINKS