pour reproduire un bug intermittent
$req=[system.Net.HttpWebRequest]::Create($url);
$req.UseDefaultCredentials = $true
$response = $req.GetResponse()
$stream = $response.GetResponseStream()
$reader = New-Object IO.StreamReader($stream)
$html = $reader.ReadToEnd()
IF ($html -match "banner-aew-europe.jpg")
{ … Bug actif ….}
No comments:
Post a Comment