Skip to content

Instantly share code, notes, and snippets.

@stesee
Last active January 2, 2020 13:38
Show Gist options
  • Save stesee/5c9ca938af2baf72ef32227f4232905f to your computer and use it in GitHub Desktop.
Save stesee/5c9ca938af2baf72ef32227f4232905f to your computer and use it in GitHub Desktop.
Powershell query installed software
$packages = Get-Package -Provider Programs -IncludeWindowsInstaller
foreach (${package} in ${packages}) { if ($package.Name -match "Microsoft .NET Core SDK") { Write-Output $package.Name }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment