https://techygeekshome.info/2014/01/sccm-2012-wql-query-for-devices-with/
SCCM - WQL Query for devices with specific software installed