Problem requesting nVidia graphics card model

Share your SQL query ideas for reporting in the WAPT Enterprise console here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
fobrian
Messages: 21
Registration: Sep 26, 2024 - 09:35

January 27, 2025 - 4:38 PM

Good morning,

I am posting this message because I am currently experiencing a problem listing the nVidia graphics card models of some of my client workstations on my network.

Indeed, for some positions, the information simply doesn't come through:

Picture

So, here is my current request, from which I have already carried out several tests, as you will see:

Code: Select all

select hosts.computer_name,hostsoftwares.name,hostsoftwares.version,wmi->'Win32_VideoController.1'->>'VideoProcessor' as "Modèle carte graphique",wmi->'Win32_VideoController'->>'Caption' as "Modèle carte graphique 1",wmi->'Win32_VideoController.1'->>'Name' as "Modèle carte graphique 2", wmi->'Win32_VideoController.0'->>'Caption' as "Caption 1",wmi->'Win32_VideoController.1'->>'Caption' as "Caption 2"
from hosts,hostsoftwares
where hostsoftwares.name ilike 'NVIDIA Pilote graphique%%' and hosts.uuid=hostsoftwares.host_id
order by hosts.computer_name ASC
If I manually check the fields queried in my query or if I manually perform a WMI query on one of the impacted workstations from a PowerShell prompt for example, I do get information back.

Have you ever encountered this problem in WAPT?

Thanks in advance.

Fred
Answer