powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Remove-WebConfigurationLock



NAME
Remove-WebConfigurationLock

SYNOPSIS
Removes a lock on configuration settings.

SYNTAX
Remove-WebConfigurationLock [-Force] [-Location ] [-Filter] [[-PSPath] ] [-WarningAc
tion ] [-WarningVariable ] [-WhatIf] [-Confirm] []


DESCRIPTION
Removes a lock on configuration settings.


PARAMETERS
-Force
Forces removal of the configuration lock.

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

-Location
Location of the configuration from which the lock is to be removed.

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

-Filter
XPath filter expression.

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

-PSPath
An IIS configuration path.

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

-WhatIf
Describes what would happen if you executed the command without actually executing the command.

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

-Confirm
Prompts you for confirmation before executing the command.

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: Adding and removing configuration locks --------------

C:\PS>Add-WebConfigurationLock -Type general -Filter //asp
Remove-WebConfigurationLock -Filter //asp
Add-WebConfigurationLock -Type inclusive -Filter //asp/@lcid
Remove-WebConfigurationLock -Filter //asp/@lcid
Add-WebConfigurationLock -Type exclusive -Filter //asp/@lcid


This example demonstrates how to add and remove configuration locks.






RELATED LINKS