Skip to content

Instantly share code, notes, and snippets.

@lazywinadmin
Last active September 4, 2019 05:26
Show Gist options
  • Save lazywinadmin/57893dd0e5c8ff299418fef7e1ab8635 to your computer and use it in GitHub Desktop.
Save lazywinadmin/57893dd0e5c8ff299418fef7e1ab8635 to your computer and use it in GitHub Desktop.
$author = 'francois-xavier cat'
invoke-restmethod -method Get -URI "https://www.powershellgallery.com/api/v2/Search()?`$filter=(startswith(Authors,'$author') and IsLatestVersion)"|
select -expand properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment