WMI Query to fetch existing detection method of an application


  • Hi,

    Can you any please guide as to how to fetch the detection method of an existing application in SCCM. I am aware of the powershell commandlet but as that requires installation of configuration Manager console, I would like to know how to do it using WMI.

    Monday, June 25, 2018 6:47 AM

All replies

  • Here is a good starting point, you will need to modify the script to show all detection method types.

    Dan Padgett | Blog: | Twitter: @danjpadgett

    Monday, June 25, 2018 11:34 AM
  • Thank You for your reply!

    I did come across this link but I see that it also leverage the CM modules. Is there a away I can fetch the existing detection method info from the SCCM DB for a particular application via WQL/SQL query without having to leverage the modules?



    • Edited by DS2885 Monday, June 25, 2018 12:03 PM
    Monday, June 25, 2018 12:03 PM
  • It only relies on the ConfigMgr assemblies to deserialize the XML and not to access the information; deserialization can be done in other ways and natively PowerShell handles XML quite well.

    Jason | | @jasonsandys

    Monday, June 25, 2018 12:28 PM