Devices By Specific DeviceType and DeviceSubtype
Description
This query finds devices by DeviceType and/or DeviceSubtype
Query · kql
// Specify the wanted DeviceType and/or DeviceSubtype let HuntedDeviceType = "NetworkDevice"; let HuntedDeviceSubtype = "Router"; DeviceInfo | summarize arg_max(Timestamp, *) by DeviceId | where DeviceType == HuntedDeviceType and DeviceSubtype == HuntedDeviceSubtype