Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save johndonnelly/5fb0d361cf3ebbe6ab1829bc3ae6d251 to your computer and use it in GitHub Desktop.
Save johndonnelly/5fb0d361cf3ebbe6ab1829bc3ae6d251 to your computer and use it in GitHub Desktop.
$data = Invoke-WebRequest https://www.sqlshack.com/top-50-powershell-bloggers-of-2018/
$data.Links.Where({ $_.href -like "*http*" -and
$_.href -notlike "*twitter*" -and
$_.href -notlike "*sql*" -and
$_.href -notlike "*creativecomm*" -and
$_.href -notlike "*microsoft*"
}) | Select-Object href -Unique -ExpandProperty href
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment