Hello,
could you try this query?
SELECT
hosts.description,
hosts.uuid AS machine,
hosts.last_logged_on_user,
hostpackagesstatus.install_date,
hostpackagesstatus.install_status,
hostpackagesstatus.version,
CASE
WHEN hostpackagesstatus.host_id IS NOT NULL THEN 'Present'
ELSE ...
The search returned 28 results
- September 22, 2026 - 5:07 PM
- Forum: Reporting - SQL Queries
- Subject: [SOLVED] Display the entire inventory with each machine showing whether a package is affected or not.
- Answers: 2
- Views : 37162
- September 18, 2026 - 09:45
- Forum: WAPT usage (Console, Agent) / WAPT usage (Console, Agent)
- Subject: [RESOLVED] Windows 10 - Windows 11 compatible machines per AD domain
- Answers: 10
- Views : 23351
Re: Create a query
That's great then.
I wish you a pleasant day.
I wish you a pleasant day.
- September 18, 2026 - 09:30
- Forum: WAPT usage (Console, Agent) / WAPT usage (Console, Agent)
- Subject: [RESOLVED] Windows 10 - Windows 11 compatible machines per AD domain
- Answers: 10
- Views : 23351
Re: Create a query
No worries, the queries can still be useful to others.
So it might be possible, but you'd have to ask someone more skilled than me (probably chatgpt or something similar ^^).
Unfortunately, SQL works line by line.
I'm not capable of creating that type of presentation.
Here's what I've been told...
So it might be possible, but you'd have to ask someone more skilled than me (probably chatgpt or something similar ^^).
Unfortunately, SQL works line by line.
I'm not capable of creating that type of presentation.
Here's what I've been told...
- September 18, 2026 - 08:36
- Forum: WAPT usage (Console, Agent) / WAPT usage (Console, Agent)
- Subject: [RESOLVED] Windows 10 - Windows 11 compatible machines per AD domain
- Answers: 10
- Views : 23351
Re: Create a query
Hello,
Can you try this?
SELECT
h.dnsdomain,
COUNT(*) AS number_machines,
STRING_AGG(h.computer_name, ', ' ORDER BY h.computer_name) AS machines
FROM hosts AS h
JOIN hostauditdata AS ha
ON h.uuid = ha.host_id
WHERE
h.os_name ~* '^Windows 10'
AND ha.value_section = 'w11 ...
Can you try this?
SELECT
h.dnsdomain,
COUNT(*) AS number_machines,
STRING_AGG(h.computer_name, ', ' ORDER BY h.computer_name) AS machines
FROM hosts AS h
JOIN hostauditdata AS ha
ON h.uuid = ha.host_id
WHERE
h.os_name ~* '^Windows 10'
AND ha.value_section = 'w11 ...
- September 17, 2026 - 2:17 PM
- Forum: WAPT usage (Console, Agent) / WAPT usage (Console, Agent)
- Subject: [RESOLVED] Windows 10 - Windows 11 compatible machines per AD domain
- Answers: 10
- Views : 23351
Re: Create a query
Hello,
could you share your request with me so I can try to adapt it?
I'd like to start with this and add total lines if that works for you.
Best regards
could you share your request with me so I can try to adapt it?
I'd like to start with this and add total lines if that works for you.
Best regards
- September 17, 2026 - 11:34
- Forum: WAPT usage (Console, Agent) / WAPT usage (Console, Agent)
- Subject: [RESOLVED] Windows 10 - Windows 11 compatible machines per AD domain
- Answers: 10
- Views : 23351
Re: Create a query
Hello,
you can try this query which will display the number of machines per domain (still in version 10).
SELECT
COALESCE(dnsdomain, 'TOTAL') AS dnsdomain,
COUNT(*) AS nombre_machines,
STRING_AGG(computer_name, ', ' ORDER BY computer_name) AS machines
FROM hosts
WHERE os_name ...
you can try this query which will display the number of machines per domain (still in version 10).
SELECT
COALESCE(dnsdomain, 'TOTAL') AS dnsdomain,
COUNT(*) AS nombre_machines,
STRING_AGG(computer_name, ', ' ORDER BY computer_name) AS machines
FROM hosts
WHERE os_name ...
- August 13, 2026 - 09:53
- Forum: WAPT Packages
- Subject: [SOLVED] Files corrupted, SHA not matching
- Answers: 42
- Views : 238269
Re: files corrupted, SHA not matching
Hello,
the message indicates a SHA not matching error. Could you compare the SHA of the package on the machine with the error and the SHA of the same package on a machine without the error?
On Windows machines, you can check the SHA of the MSI file using PowerShell: `
Get-FileHash .\filename.msi -Algorithm SHA256 | Format-List ...`
the message indicates a SHA not matching error. Could you compare the SHA of the package on the machine with the error and the SHA of the same package on a machine without the error?
On Windows machines, you can check the SHA of the MSI file using PowerShell: `
Get-FileHash .\filename.msi -Algorithm SHA256 | Format-List ...`
- August 12, 2026 - 10:59
- Forum: Reporting - SQL Queries
- Subject: [SOLVED] Create a query
- Answers: 5
- Views : 240468
Re: Create a query
Yes, a query displays results at a specific point in time (its execution).
If machines update Cortex to a version higher than 9 in the meantime, then those updates will no longer be displayed in the query results.
Best regards.
If machines update Cortex to a version higher than 9 in the meantime, then those updates will no longer be displayed in the query results.
Best regards.
- August 12, 2026 - 09:23
- Forum: Reporting - SQL Queries
- Subject: [SOLVED] Create a query
- Answers: 5
- Views : 240468
Re: Create a query
This means that an index (a position) in a tuple (or list) does not exist.
Try again with this query:
SELECT hostsoftwares.version,
hostsoftwares.name,
hosts.computer_name,
hostsoftwares.host_id
FROM hosts, hostsoftwares
WHERE hostsoftwares.name ILIKE 'Cortex%%'
AND hosts ...
Try again with this query:
SELECT hostsoftwares.version,
hostsoftwares.name,
hosts.computer_name,
hostsoftwares.host_id
FROM hosts, hostsoftwares
WHERE hostsoftwares.name ILIKE 'Cortex%%'
AND hosts ...
- August 11, 2026 - 4:20 PM
- Forum: Reporting - SQL Queries
- Subject: [SOLVED] Create a query
- Answers: 5
- Views : 240468
Re: Create a query
Hello,
No problem, here's how:
1. Create the query
In the WAPT console, go to Reporting → Design Mode → New Query. This adds an empty query that you can then edit and rename (F2 key).
2. The SQL query
Using the example "Listing hosts with ...
No problem, here's how:
1. Create the query
In the WAPT console, go to Reporting → Design Mode → New Query. This adds an empty query that you can then edit and rename (F2 key).
2. The SQL query
Using the example "Listing hosts with ...
