Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $title = (curl www.gamestop.com/collection/snes-classic).ParsedHtml.head.innerText
- $count = 0;
- $wshell = New-Object -ComObject Wscript.Shell
- DO{
- $title = (curl www.gamestop.com/collection/snes-classic).ParsedHtml.head.innerText
- $lastRan = Get-Date -Format g
- $count++
- Write-Host Attempt $count - $title - $lastRan
- start-sleep -Seconds 900
- } While ($title -eq "Gamestop.com - Temporarily Down for Maintenance")
- $wshell.Popup("It's live!!",0,"Done",0x1)
- start www.gamestop.com/collection/snes-classic
- DO{
- Write-Host
- $title = (curl www.gamestop.com/collection/snes-classic).ParsedHtml.head.innerText
- $count++
- Write-Host !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! $count - $title
- } While ($title -ne "Gamestop.com - Temporarily Down for Maintenance")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement