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.
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.