CmdID / PowerShell / Cmdlets / Remove
Remove-IISConfigCollectionElement
Removes a configuration element object from an IIS configuration collection. Windows Server PowerShell reference
From the Windows Server PowerShell reference 4 parameters Its page in the reference
Parameters
-ConfigAttributeSpecifies a hashtable of the attributes to match while searching for the configuration elements to delete in the collection.-ConfigCollectionSpecifies the ConfigurationCollection from which the matching ConfigurationElements will be removed.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.