SharePoint 2010 Cookbook: How to Remove a web.config Modification Using PowerShell
Some custom SharePoint products make changes to the web.config of a Web application via SPWebConfigModification objects.
Some custom SharePoint products make changes to the web.config of a Web application via SPWebConfigModification objects.