title: How do I remove IIS custom header using Powershell?
body: <p>I am writing a powershell script that deploys a website to IIS 7.  I would like to do the following command to remove a custom header using the Web-Administration module in powershell rather than with appcmd.  How do I do this command in powershell not using appcmd?</p>
  
  <pre><code>appcmd set config /section:httpProtocol /-customHeaders.[name='X-Powered-By']
  </code></pre>