title: Update HTTP Handler - Request Restrictions - Mapping Tab via Powershell or APPCMD
body: <p>In IIS 7.5, I am trying to update the request restrictions for the handler mappings. I know you can use appcmd or ps and edit the verbs or access, but I want to be able to run a command that will "Invoke handler only if request is mapped to: FILE". </p>
  
  <p>I found this article in technet, which basically will allow me to edit everything except the tab that I need to change.</p>
  
  <p><a href="https://technet.microsoft.com/en-us/library/cc730969(v=ws.10).aspx" rel="nofollow">https://technet.microsoft.com/en-us/library/cc730969(v=ws.10).aspx</a></p>
  
  <p>For example </p>
  
  <pre><code>appcmd set config /section:handlers /[name=' ImageCopyrightHandler '].verb:GET,HEAD
  </code></pre>
  
  <p>I've tried pretty much every command I can come up with but none of them seem to work.</p>
  
  <p><a href="http://i.stack.imgur.com/pwfHX.jpg" rel="nofollow">This is what I am trying to edit for each handler mapping.</a></p>
  
  <p>I'd hate to have to do each one manually, since it has to be done on 3 servers are there are 35 isapi module handers in each one. Any ideas?</p>