Quantcast
Channel: PowerShell App Deployment Toolkit
Viewing all articles
Browse latest Browse all 2341

New Post: New Get-InstalledApplication and Remove-MSIApplications using 4.0 Codebase

$
0
0
The Get-InstalledApplication function would throw errors when the -ProductCode parameter was used. I used parameter sets to separate the -Name and -Exact parameters from the -ProductCode parameter. I also added logging to distinguish which parameter combinations were being used.

I added a -ProductCode parameter to the Remove-MSIApplications function with the same parameter set logic. Passing the Product Code to Remove-MSIApplications will be more robust when searching for a specific application with the Get-InstalledApplication function.

Viewing all articles
Browse latest Browse all 2341

Trending Articles