Created
April 28, 2017 14:32
-
-
Save joegasper/ae78caa976692e4e0048e8c778f39578 to your computer and use it in GitHub Desktop.
Get WordPress Version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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