This is the built-in help made by Microsoft for the command 'Add-WebConfigurationLock', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Locks an IIS configuration section or element.
Add-WebConfigurationLock [-Filter] <String[]> [[-PSPath] <String[]>] [-Force] [-Location <String[]>] [-Passthru] -Type <String> [-Confirm] [-WhatIf] [<CommonParameters>]
Locks an IIS configuration section, element, or attribute.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=287837
Remove-WebConfigurationLock
Unkown
<
-------------- EXAMPLE 1: Adding and removing configuration locks --------------
IIS:\>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 inclusive and exclusive locks using a filter.