George3113
Member
- Messages
- 10
- Solutions
- 1
- Reaction score
- 0
- Points
- 1
Hello,
I am trying to create a query that will list all computers with Visio Click-to-Run installed. I have tried using product code/IdentifyingNumber from Win32_Product but Visio is not listed when I run gwmi win32_prodcut. I have also tried using the query at the bottom of the post, containing SMS_G_SYStem_softwareFile.Filename = "Visio.exe" but I get no results. Any ideas? Thanks in advance.
select SMS_R_System.Name, SMS_G_System_OPERATING_SYSTEM.BuildNumber, SMS_G_System_INSTALLED_SOFTWARE.ARPDisplayName, SMS_G_System_INSTALLED_SOFTWARE.VersionMajor from SMS_R_System inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FilePath like "C:\\Program Files\\Microsoft Office\\root\\Office16\\Visio.exe" and SMS_G_System_SoftwareFile.FileName = "Visio.exe"
I am trying to create a query that will list all computers with Visio Click-to-Run installed. I have tried using product code/IdentifyingNumber from Win32_Product but Visio is not listed when I run gwmi win32_prodcut. I have also tried using the query at the bottom of the post, containing SMS_G_SYStem_softwareFile.Filename = "Visio.exe" but I get no results. Any ideas? Thanks in advance.
select SMS_R_System.Name, SMS_G_System_OPERATING_SYSTEM.BuildNumber, SMS_G_System_INSTALLED_SOFTWARE.ARPDisplayName, SMS_G_System_INSTALLED_SOFTWARE.VersionMajor from SMS_R_System inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FilePath like "C:\\Program Files\\Microsoft Office\\root\\Office16\\Visio.exe" and SMS_G_System_SoftwareFile.FileName = "Visio.exe"
