Skip to content

Commit

Permalink
Add Application list
Browse files Browse the repository at this point in the history
  • Loading branch information
guitarrrapc committed Sep 23, 2013
1 parent c38f5f4 commit 68860ed
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Find-InstalledApplicationInfo/Find-InstalledApplicationInfo.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function Find-InstalledApplicationInfo{

$arrayList = New-Object System.Collections.ArrayList
$reg = "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*"

$installedAppsInfos = Get-ItemProperty -Path $reg

foreach($installedAppsInfo in $installedAppsInfos)
{
$obj = [PSCustomObject]@{DisplayName = $installedAppsInfo.DisplayName
DisplayVersion = $installedAppsInfo.DisplayVersion
Publisher = $installedAppsInfo.Publisher}
$arrayList.Add($obj) > $null
}
$arrayList | where DisplayName
}

0 comments on commit 68860ed

Please sign in to comment.