This project is read-only.

Parse Get-InstalledApplication

Topics: Archive - General, Archive - Toolkit Extensions
Aug 15, 2014 at 7:47 PM
I am looking to invoke an app based on the installLocation from Get-InstalledApplication.

When I try it I get back @{InstallLocation=C:\Program Files (x86)\vendor\app...}

all I need is C:\Program Files (x86)\vendor\app...

I can use... gci -path $UninstallRegPath | where {$_.Getvalue("DisplayName") -like 'appname'} | % {$AppInstPath = $_.Getvalue("InstallLocation")}

But I would like to use your extensions to keep it cleaner for my techs.
Aug 20, 2014 at 3:17 PM
Try this:

$installLocation = Get-InstalledApplication "adobe" | Select "InstallLocation" -ExpandProperty "InstallLocation"