Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

NEW SQL query to filter computer model + installed wireless drivers

  • Thread starter Thread starter leo815
  • Start date Start date
  • Replies Replies 2
  • Views Views 3K

leo815

Member
Messages
20
Solutions
2
Reaction score
1
Points
3
Hi all,

I am struggling to combine these two queries so that I can get a list of computer models and the installed wireless driver on it.
Any help would be great. Thanks.

SELECT
Model0 AS Model,
COUNT(*) AS Count
FROM
v_GS_COMPUTER_SYSTEM
GROUP BY Model0

select count(name0),Name0 from v_GS_NETWORK_ADAPTER where
v_GS_NETWORK_ADAPTER.Description0 like '%Wireless%'
group by Name0
 
Keep in mind that your queries will not find all wirelss nic.

SELECT
cs.Model0 AS Model,
NA.Name0,
COUNT(*) AS Count
FROM
v_GS_COMPUTER_SYSTEM cs
join v_GS_NETWORK_ADAPTER NA on CS.ResourceID = NA.ResourceID
where
NA.Description0 like '%Wireless%'
GROUP BY
CS.Model0,
NA.Name0
 

Forum statistics

Threads
7,135
Messages
27,868
Members
18,159
Latest member
jordysmits
Back
Top