Query Details

Endpoint Installed Apps Windows

Query

//Installed App name & version list 
DeviceTvmSoftwareInventory
| where OSPlatform startswith "Windows"
| summarize Installed_Software = make_set(strcat(SoftwareName, " | ", SoftwareVersion)) by DeviceName, DeviceId, OSPlatform, OSVersion
| extend AppNum = array_length(Installed_Software)
| project DeviceId, DeviceName, OSPlatform, OSVersion, AppNum, Installed_Software

About this query

name : Installed App name & version list description :

Explanation

This query retrieves a list of all installed app names and their versions on Windows devices. It uses the DeviceTvmSoftwareInventory table and filters for devices with an OSPlatform starting with "Windows". The query then summarizes the data by grouping it by DeviceName, DeviceId, OSPlatform, and OSVersion. It also calculates the number of installed apps and displays the results in a table with columns for DeviceId, DeviceName, OSPlatform, OSVersion, AppNum, and Installed_Software.