# encoding: ascii # api: powershell # title: powershell rocks # description: a proof in concept as to why posh rocks # version: 0.1 # license: CC0 # x-poshcode-id: 606 # x-archived: 2008-09-26T19:10:34 # # for($i = 1; $i -le 20; $i++) { $web = New-Object system.net.webclient $web.Headers.Add("user-agent", "powershell") $web.DownloadDataAsync("http://tinyurl.com/4aw2cd") }