title: Comment out appSettings on web.config using PowerShell
body: <p>I would like to know if someone can perform <strong>commenting out this section on appSettings using PowerShell</strong>. Sample code below: (just an example, not really my code)</p>
  
  <pre><code>&lt;configuration&gt;
     &lt;connectionStrings&gt;
        &lt;add name="TestDBEntities" connectionString="metadata=res://*/TestProject.csdl|res://*/TestProject.ssdl|res://*/TestProject.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;data source=SQL01;initial catalog=TestDB;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&amp;quot;" providerName="System.Data.EntityClient" /&gt;
     &lt;/connectionStrings&gt;
     &lt;appSettings&gt;
        &lt;add key="SCVMMServerName" value="VMM01" /&gt;
        &lt;add key="SCVMMServerPort" value="8100" /&gt;
     &lt;/appSettings&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>I want to comment out this section:</p>
  
  <pre><code>&lt;add key="SCVMMServerName" value="VMM01" /&gt;
  </code></pre>
  
  <p>resulting like this:</p>
  
  <pre><code>&lt;configuration&gt;
     &lt;connectionStrings&gt;
        &lt;add name="TestDBEntities" connectionString="metadata=res://*/TestProject.csdl|res://*/TestProject.ssdl|res://*/TestProject.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;data source=SQL01;initial catalog=TestDB;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&amp;quot;" providerName="System.Data.EntityClient" /&gt;
     &lt;/connectionStrings&gt;
     &lt;appSettings&gt;
        &lt;!--&lt;add key="SCVMMServerName" value="VMM01" /&gt;--&gt;
        &lt;add key="SCVMMServerPort" value="8100" /&gt;
     &lt;/appSettings&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Hope you guys <em>(especially PowerShell nerds out there)</em> can help me. Thanks a lot!</p>