How To: Use OSQuery to Validate Installed Software

How To: Use OSQuery to Validate Installed Software


Overview

This document will cover using the osquery.exe application found in the CyberCNS agent folder.

image-20240522-200007.png

Prerequisites

Administrator access to Windows PowerShell


Instructions

  1. Open PowerShell as Administrator

  2. Run the following commands

cd "C:\Program Files (x86)\CyberCNSAgent" .\osqueryi.exe select * from programs where name like '%XXXXX%';

NOTE: You must replace the XXXXX in code step 3 above with the application name you are searching for. As an example, we will search for Edge so that it would look like this:

select * from programs where name like '%edge%' ;

image-20240522-200508.png

Need Support?

If you need assistance, our support team is here to help. You can create, view, and manage support tickets through our portal at any time.

Support Portal: https://connectsecure.freshdesk.com
Email: support@connectsecure.com