HTTP Security Headers Script

I wrote this little PowerShell script to quickly test for HTTP Security Headers.

It still needs improvements, but it’s mostly there.

Hope you find it useful, if you find any issues, please let me know via Github and I’ll try to fix them ASAP

https://github.com/davehardy20/PowerShell-Scripts/blob/master/Get-HttpSecHead.ps1

[Edit]

I’ve added logging functionality to write all of the script output to a file.

Capture

Capture1

 

Also forgot to mention this script requires PowerShell 3.0.