This is the built-in help made by Microsoft for the command 'Clear-WebConfiguration', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 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.
Removes configuration settings from the specified configuration location.
Clear-WebConfiguration [-Filter] <String[]> [[-PSPath] <String[]>] [-Clr <String>] [-Force [<SwitchParameter>]] [-Location <String[]>]
[-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Removes configuration settings from the specified configuration location.
<
Get-WebConfiguration
Set-WebConfiguration
<
-------------- EXAMPLE 1: Removing ASP configuration on the root node --------------
C:\PS>Clear-WebConfiguration -Filter /system.webServer/asp -PSPath 'IIS:\'
This command removes the <asp> section from the root node.
-------------- EXAMPLE 2: Remove a configuration property from the root node --------------
C:\PS>Clear-WebConfiguration -Filter /system.webServer/asp/@lcid -PSPath 'IIS:\'
This example removes the lcid property from the IIS configuration root node.
-------------- EXAMPLE 3: Removing configuration from the site node --------------
IIS:\>Clear-WebConfiguration -Filter /system.webServer/asp -PSPath 'IIS:\sites\Default Web Site'
Remove the <asp> section from the IIS configuration node for the Default Web Site.