How to get the Uninstall Command for a Win32 Application

So you have installed an App silenty via the Intune App Packager 

You’ve used something like setup.exe /silent , as the application didn’t come with a .msi as the install command , how do you get the uninstall command?

You will need to install it first on a test pc

You will then need to run the following powershell to find the GUID of the program in {}

get-wmiobject Win32_Product | Format-Table IdentifyingNumber, Name, LocalPackage -AutoSize

The uninstall command will be

msiexec.exe /x {GUID OF APPLICATION) /qb

 
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...