This is the built-in help made by Microsoft for the command 'Remove-WebConfigurationLocation', 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 an IIS configuration location.
Remove-WebConfigurationLocation [[-PSPath] <String[]>] [[-Name] <String>] [-Recurse [<SwitchParameter>]] [-Confirm [<SwitchParameter>]]
[-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Removes an IIS configuration location.
<
<
-------------- EXAMPLE 1: Add and remove a configuration location --------------
IIS:\>Set-WebConfigurationProperty -PSPath "IIS:\" -Filter //windowsAuthentication -Location "Default Web Site/mypage.htm" -Name enabled
-Value true Get-WebConfigurationLocation -Name "Default Web Site" -PSPath "IIS:\" "Sleep 5 seconds before removing the configuration
location"; Sleep 5 Remove-WebConfigurationLocation -Name "Default Web Site/my*" Get-WebConfigurationLocation -Name "Default Web Site" -PSPath
"IIS:\"
This example adds, and then removes, a configuration location.