Hello,
yes, it needs to be created in the reporting section.
The package needs to be applied to the entire fleet.
Be sure to keep the double percent signs (%) to avoid SQL-to-Python interpretation.
The search returned 169 results
- June 25, 2025 - 4:03 PM
- Forum: Reporting - SQL Queries
- Subject: [SOLVED] Screen search by serial number
- Answers: 2
- Views : 27302
- April 11, 2025 - 11:46
- Forum: WAPT Packages
- Subject: Package KB5002623
- Answers: 2
- Views : 4290
Re: Package KB5002623
Small fix for posts already having the KB:
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package ...
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package ...
- April 10, 2025 - 4:15 PM
- Forum: WAPT Packages
- Subject: Package KB5002623
- Answers: 2
- Views : 4290
Package KB5002623
Hello,
regarding the KB5002700 issue related to Office 2016, Microsoft suggests using the binary here: https://www.microsoft.com/en-us/download/details.aspx?id=108113
Here is a package code to handle both 32-bit and 64-bit Office:
# -*- coding: utf-8 -*-
from setuphelpers import *
r ...
regarding the KB5002700 issue related to Office 2016, Microsoft suggests using the binary here: https://www.microsoft.com/en-us/download/details.aspx?id=108113
Here is a package code to handle both 32-bit and 64-bit Office:
# -*- coding: utf-8 -*-
from setuphelpers import *
r ...
- January 23, 2025 - 4:11 PM
- Forum: WAPT Packages
- Subject: AD Recovery Package Description
- Answers: 0
- Views : 14561
Recovery package description AD
Hello,
here is a package that retrieves a computer's description from Active Directory and modifies the local computer description.
Package: tis-set-ad-description-to-registry
Version: 1.3-4
Architecture: All
Section: Base
Priority: Optional
Name: Set AD description to registry
categories ...
here is a package that retrieves a computer's description from Active Directory and modifies the local computer description.
Package: tis-set-ad-description-to-registry
Version: 1.3-4
Architecture: All
Section: Base
Priority: Optional
Name: Set AD description to registry
categories ...
- November 21, 2024 - 4:51 PM
- Forum: WAPT Packages
- Subject: [RESOLVED] audit-host package
- Answers: 2
- Views : 2918
[RESOLVED] audit-host package
Hello,
following the logic of the audit-dmi and audit-wmi packages, I propose this package:
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
pass
def audit():
try:
data_host_info = host_info()
except Exception as e:
data_host_info = {"status": str(e)}
WAPT.write_audit_data_if ...
following the logic of the audit-dmi and audit-wmi packages, I propose this package:
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
pass
def audit():
try:
data_host_info = host_info()
except Exception as e:
data_host_info = {"status": str(e)}
WAPT.write_audit_data_if ...
- November 21, 2024 - 4:50 PM
- Forum: Reporting - SQL Queries
- Subject: [SOLVED] Screen search by serial number
- Answers: 2
- Views : 27302
[SOLVED] Screen search by serial number
Hello,
in addition to using the audit-host package, I propose this query which allows you to find which machine a monitor is connected to,
using its serial number.
/* Replace the serial number to find the machine */
SELECT
h.computer_name,
h.last_seen_on,
h.computer_type ...
in addition to using the audit-host package, I propose this query which allows you to find which machine a monitor is connected to,
using its serial number.
/* Replace the serial number to find the machine */
SELECT
h.computer_name,
h.last_seen_on,
h.computer_type ...
- July 15, 2024 - 09:25
- Forum: Reporting - SQL Queries
- Subject: [RESOLVED] Duplicate SQL query for host
- Answers: 5
- Views : 46129
Re: Duplicate SQL query host
Hello, when you put the UUID in your query it appears 
- June 20, 2024 - 10:29
- Forum: Reporting - SQL Queries
- Subject: [RESOLVED] Duplicate SQL query for host
- Answers: 5
- Views : 46129
Re: Duplicate SQL query host
Improvement for displaying it in inventory filters:
Code: Select all
SELECT h.uuid, h.computer_name
FROM hosts h
JOIN (
SELECT computer_name
FROM hosts
GROUP BY computer_name
HAVING COUNT(computer_name) > 1
) dup ON h.computer_name = dup.computer_name
ORDER BY h.uuid;- June 18, 2024 - 10:12
- Forum: Reporting - SQL Queries
- Subject: List of job templates
- Answers: 0
- Views : 21785
List of job models
Hello,
here are two queries that retrieve a list of workstation models, grouped by model.
Global:
SELECT
manufacturer,
productname,
COUNT(*) AS NbMachines
FROM
hosts
GROUP BY
manufacturer, productname;
OR:
SELECT
manufacturer,
productname,
COUNT(*) AS NbMachines
FROM ...
here are two queries that retrieve a list of workstation models, grouped by model.
Global:
SELECT
manufacturer,
productname,
COUNT(*) AS NbMachines
FROM
hosts
GROUP BY
manufacturer, productname;
OR:
SELECT
manufacturer,
productname,
COUNT(*) AS NbMachines
FROM ...
- June 14, 2024 - 3:25 PM
- Forum: Reporting - SQL Queries
- Subject: Retrieving application versions using a grouped OU by version
- Answers: 0
- Views : 23508
Retrieving application versions via OR grouped by version
Hello,
here is a query that retrieves:
- the list of applications
- grouped by version number
- indicating the machines with that version
- from a specific OU
SELECT
hs.name AS Software_Name,
hs.version AS Software_Version,
COUNT(DISTINCT h.computer_fqdn) AS NbMachines,
STRING_AGG ...
here is a query that retrieves:
- the list of applications
- grouped by version number
- indicating the machines with that version
- from a specific OU
SELECT
hs.name AS Software_Name,
hs.version AS Software_Version,
COUNT(DISTINCT h.computer_fqdn) AS NbMachines,
STRING_AGG ...
