CmdID / PowerShell / Cmdlets / Remove
Remove-WebConfigurationLocation
Removes an IIS configuration location. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-NameSpecifies the name of the configuration location that this cmdlet removes.-PSPathSpecifies an IIS configuration path.-RecurseIndicates that this cmdlet removes locations within the hierarchy of the specified location.-WhatIf, -wiShows what would happen if the cmdlet runs.