Sha256: 5bbc02c21050da28885ae478b4a0f29256c481b111742578bdad46d8859dc076
Contents?: true
Size: 310 Bytes
Versions: 55
Compression:
Stored size: 310 Bytes
Contents
function FindInstalledApplication { param($appName, $appVersion) $selectionCriteria = "(Name like '$appName' or PackageName like '$appName') and InstallState = 5" if ($appVersion -ne $null) { $selectionCriteria += " and version = '$appVersion'"} Get-WmiObject Win32_Product -filter $selectionCriteria }
Version data entries
55 entries across 55 versions & 2 rubygems