Sunday, 12 June 2016

How to remove HTTP Header on IIS level:-

How to remove HTTP Header on IIS level:-


Powershell Command:

Import-Module WebAdministrationClear-WebConfiguration "/system.webServer/httpProtocol/customHeaders/add[@name='X-Powered-By']"                      .



Result:-

Above command will remove the HTTP Response Headers. 





No comments:

Post a Comment

Comments System

Disqus Shortname