Skip to content

Instantly share code, notes, and snippets.

@PrateekKumarSingh
Created September 20, 2018 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save PrateekKumarSingh/03a050b9fd8cb60fbe78c6ddf75e9d60 to your computer and use it in GitHub Desktop.
Save PrateekKumarSingh/03a050b9fd8cb60fbe78c6ddf75e9d60 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