Skip to main content
added 56 characters in body
Source Link
David Brabant
  • 44k
  • 16
  • 93
  • 119
$request = [System.Net.WebRequest]::Create('http://stackoverflow.com/questions/20259251/powershell-script-to-check-the-status-of-a-url') $response = $request.GetResponse() $response.StatusCode $response.Close() 
$request = [System.Net.WebRequest]::Create('http://stackoverflow.com/questions/20259251/powershell-script-to-check-the-status-of-a-url') $request 
$request = [System.Net.WebRequest]::Create('http://stackoverflow.com/questions/20259251/powershell-script-to-check-the-status-of-a-url') $response = $request.GetResponse() $response.StatusCode $response.Close() 
Source Link
David Brabant
  • 44k
  • 16
  • 93
  • 119

$request = [System.Net.WebRequest]::Create('http://stackoverflow.com/questions/20259251/powershell-script-to-check-the-status-of-a-url') $request