Created
February 18, 2012 16:30
-
-
Save breezhang/1860067 to your computer and use it in GitHub Desktop.
You can get Http header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$url="full name much better eg. http://www.google.com" | |
#$xhttp= New-Object -ComObject msxml2.xmlhttp | |
#$xhttp.open("get",$url,$false) | |
#$xhttp.send() | |
#$xhttp.responseText | |
#$xhttp.status | |
#$xhttp.getAllResponseHeaders() | |
#alse you can net.webclient | |
#$req =[net.httpwebrequest]::Create($url) | |
new-object net.webclient | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment