[new] EDIT: We found out this evening that it was suppose to ship tomorrow, but isn’t going to anymore because they heard about a (possible) bug and are delaying release to investigate (and fix it).


while($true){
  $items = Invoke-Http get http://www.microsoft.com/downloads/Results.aspx @{freetext="powershell"; nr=50; sortCriteria="date"} |
    Receive-Http xml "//*[@id='results']/table/tr/td/p/a" |
    where {$_."#text"}

  if($items.Count -gt 47 ) {
    Out-Voice "There is a new PowerShell Release";
    Start "http://www.microsoft.com/downloads/$($items[0].href)"
    throw "Confetti"
  }
  sleep 30
}

Disclaimer: it wasn’t really my idea. ;)

[new] Edit: Someone suggested I should link to the required PoshCode scripts:

Wouldn’t it be cool to be able to “require” those like a ruby GEM? ;)

One Response to “Still waiting …”