PoshCode Archive  Artifact [0510cfdd88]

Artifact 0510cfdd88a372c7d313ba5ba765d84c47422854db8a8289d06b91b4b2d2c523:

  • File powershell-rocks.ps1 — part of check-in [1b9ed1923f] at 2018-06-10 14:07:12 on branch trunk — a proof in concept as to why posh rocks (user: unknown size: 407)

# 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")
}