Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. $title = (curl www.gamestop.com/collection/snes-classic).ParsedHtml.head.innerText
  2. $count = 0;
  3. $wshell = New-Object -ComObject Wscript.Shell
  4.  
  5. DO{
  6. $title = (curl www.gamestop.com/collection/snes-classic).ParsedHtml.head.innerText
  7. $lastRan = Get-Date -Format g
  8. $count++
  9. Write-Host Attempt $count - $title - $lastRan
  10. start-sleep -Seconds 900
  11. } While ($title -eq "Gamestop.com - Temporarily Down for Maintenance")
  12. $wshell.Popup("It's live!!",0,"Done",0x1)
  13. start www.gamestop.com/collection/snes-classic
  14. DO{
  15. Write-Host
  16.  
  17. $title = (curl www.gamestop.com/collection/snes-classic).ParsedHtml.head.innerText
  18. $count++
  19. Write-Host !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! $count - $title
  20. } While ($title -ne "Gamestop.com - Temporarily Down for Maintenance")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement