Hi Guys
I'm looking to remove a particular application from around 150 machines. The advice online for this particular app is to use a WMI command and then deploy it as a package.
In testing this has gone well and successfully removed the application.
My problem is that some of those machines that have successfully run the command and removed the application are still showing in my collection to find "machines with applicationx installed" (see collection below)
If I run resource explorer on the machine that ran the script successfully, the application still shows under Installed Applications and Installed Software. I assume this is the reason the machine is still in the collection.
Questions:
What is the difference between Installed Applications and Installed Software in Resource Explorer?
Why is this application still showing in the Resource Explorer list when if you look at the machine, it's clearly not installed?
Collection to find application (two queries):
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS
on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "APP%NAME"
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System
inner join SMS_G_System_ADD_REMOVE_PROGRAMS_64 on SMS_G_System_ADD_REMOVE_PROGRAMS_64.ResourceId = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS_64.DisplayName like "APP%NAME"
Please let me know if any particular logs or information would be useful to help resolve this.