Skip to content

Instantly share code, notes, and snippets.

@joegasper
Created April 28, 2017 14:32
Show Gist options
  • Save joegasper/ae78caa976692e4e0048e8c778f39578 to your computer and use it in GitHub Desktop.
Save joegasper/ae78caa976692e4e0048e8c778f39578 to your computer and use it in GitHub Desktop.
Get WordPress Version
#Simple check on a generic WordPress site
$page = Invoke-WebRequest -Uri http://mywordpress03.site
$WPver = ($page.Scripts.src).where({$_ -match 'wp-embed.min'}).Split('=')[1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment