Determine wifi capabilities of Windows box (with WSUS install rules)
Posted
by
Hagen von Eitzen
on Server Fault
See other posts from Server Fault
or by Hagen von Eitzen
Published on 2012-12-13T23:01:58Z
Indexed on
2012/12/13
23:04 UTC
Read the original article
Hit count: 318
I need to determine if a computer is in fact a laptop with wifi capabilities (with emphasis on wifi rather than laptop). More precisely, I want to distribute a piece of software I wrote via WSUS and Local Update Publisher to those clients. To this end, I want to create appropriate "Package installable rules", that is simple rule used bay the Windows Update Service on the client to decide beforehand whether or not an update/installation package is applicable. Typically, such "installabel rules" are logical combinations of rules of type "File exists", "Registry Key exists", "WMI Query", "MSI Product Installed", so I'd prefer one of those methods. The method I hope someone here can help me find should work with Win 7/Vista, preferably also with XP.
My guess is that WMI query is the way to go, but I have little experience in that. I have found that one can e.g. query for EnclosureType and that might detect a laptop. However, I would be much happier if an actually available wifi interface would be detected. Does anyone have an idea how to approach this?
If there is anything you need me to clarify, don't hesitate to comment.
© Server Fault or respective owner