miércoles, 23 de junio de 2010

Using PowerShell to get the HTTP HEADER values

All you need to do is open a powershell session and write the following code:

$url =
http://www.manuelvillasur.com/;
$httpRequest = [System.Net.HttpWebRequest]::Create($url);
$response = $httpRequest.GetResponse();
$response.Headers.ToString();