PowerShell Logo Small

Remove-WebConfigurationLocation



This is the built-in help made by Microsoft for the command 'Remove-WebConfigurationLocation', 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.

SYNOPSIS

Removes an IIS configuration location.

SYNTAX


Remove-WebConfigurationLocation [[-PSPath] <String[]>] [[-Name] <String>] [-Recurse] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Removes an IIS configuration location.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/p/?linkid=287885

REMARKS

<

Examples


-------------- 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.