Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AspenForester/01063bda68a69b12cf2d9e41b24b089f to your computer and use it in GitHub Desktop.
Save AspenForester/01063bda68a69b12cf2d9e41b24b089f to your computer and use it in GitHub Desktop.
Quick and dirty, should return the number of seats available for the 2018 PowerShell + DevOps Global Summit
$Foo = Invoke-WebRequest -Uri 'https://www.eventbrite.com/e/powershell-devops-global-summit-2018-registration-32452427083' -UseBasicParsing
$null = $foo -match 'remaining":(\d{1,3})'
$Matches[1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment