Devices - Windows - superseded
0 Votes |
Versioning - This is an older version.
1 | Devices - Windows | 12/5/2012 9:55:46 AM |
2 | Devices - Windows | 11/1/2013 11:56:01 AM |
3 | Devices - Windows | 11/20/2013 11:47:07 AM |
4 | Devices - Windows | 11/20/2013 2:15:43 PM |
5 | Devices - Windows | 9/3/2014 11:47:03 AM |
Description
This is a work in progress.
This analysis attempts to pull back a lot of data about devices on a Windows system.
Latest version found here: http://bigfix.me/analysis/details/2994593
Property Details
2994605 | |
Beta - Preliminary testing ready for more | |
Devices - Windows | |
BESC | |
Devices Bluetooth Inactive Video Card | |
jgstew on 11/20/2013 11:47:07 AM | |
jgstew on 11/20/2013 11:47:07 AM | |
3237 Views / 1 Download | |
![]() ![]() ![]() ![]() ![]() |
Properties
Active Devices
Period
7 days
* Results in a true/false |

unique values of friendly names whose (it as string does not contain "ATA Channel" AND it as string does not contain " (LPT" AND it as string does not contain " (COM" AND it as string does not contain "Pseudo-Interface" AND it as string does not contain "Microsoft ISATAP" AND it as string does not contain "VirtualBox" AND (it as string does not contain "Miniport" OR it as string contains "Intel")) of active devices
Bluetooth
Period
2 days
* Results in a "string"/number |

if exists (friendly names whose (it as lowercase contains "bluetooth") of active devices) then (concatenation ", " of unique values of friendly names whose (it as lowercase contains "bluetooth") of active devices) else "No Bluetooth installed"
Inactive Devices
Period
2 days
* Results in a "string"/number |

concatenation ", " of unique values of ((if (exists property "Name" of it) then property "Name" of it as string else "<none>") & " - " & property "DeviceID" of it as string) of select objects "Name,DeviceID FROM Win32_PnPEntity WHERE ConfigManagerErrorCode <> 0" of wmi
Video Card
Period
7 days
* Results in a "string"/number |

concatenation ", " of unique values of (selects "Name, DriverVersion, AdapterRam from Win32_VideoController" of wmi as string)
OEM INF info
Period
7 days
* Results in a true/false |

((name of it), following texts of firsts "=" of unique values whose(it as lowercase does not contain "%25provider%25" AND it as lowercase does not contain "%25providername%25") of (lines whose(it as string as lowercase starts with "provider") of it as string) as trimmed string, following texts of firsts "=" of unique values of (lines whose(it as string as lowercase starts with "class" AND it as string as lowercase does not start with "classguid") of it as string) as trimmed string, unique values of (lines whose(it as string as lowercase starts with "driverver" AND it as string as lowercase does not start with "driverversion") of it as string)) of (files whose(name of it as lowercase starts with "oem" AND name of it as lowercase ends with ".inf") of folder "Inf" of windows folder)
# of OEM INFs
Period
2 days
* Results in a true/false |

number of files whose(name of it as lowercase starts with "oem" AND name of it as lowercase ends with ".inf") of folder "Inf" of windows folder
USB Devices (WMI)
Period
2 days
* Results in a true/false |

/* Warning: This is very slow, and not recommended for use within a fixlet's or task's relevance! */ unique values of (string values whose (it != "Generic volume" AND it != "HID-compliant consumer control device" AND it != "HID-compliant device" AND it != "USB Composite Device" AND it != "Generic USB Hub" AND it != "USB Input Device" AND it does not start with "USB Root Hub") of selects (("Caption from Win32_PnPEntity where DeviceID='" & it as string & "'") of preceding texts of lasts "%22" of following texts of lasts "=%22" of (string values of selects "Dependent from Win32_USBControllerDevice" of wmi )) of wmi)
PCI Devices (WMI)
Period
2 days
* Results in a true/false |

/* Warning: This is very slow, and not recommended for use within a fixlet's or task's relevance! */ unique values of ((if (it starts with "Intel" OR it starts with "Xeon") then (preceding texts of lasts " - " of it) else it) of string values of selects (("Caption from Win32_PnPEntity where DeviceID='" & it as string & "'") of ((parenthesized part 1 of (matches (regex "^Win32_PnPEntity\.DeviceID\=\%22(.*)\%22") of string values of it)) of properties whose(string value of it contains "DeviceID=") of select objects ("DeviceID from Win32_PnPEntity ") of WMI) whose(it starts with "PCI\\VEN_")) of wmi)
All Devices (WMI)
Period
2 days
* Results in a true/false |

/* Warning: This is slow, and not recommended for use within a fixlet's or task's relevance! */ unique values of (string values whose (it does not start with "WAN Miniport (" AND it does not start with "Generic volume" AND it != "HID-compliant consumer control device" AND it != "HID-compliant device" AND it != "USB Composite Device" AND it != "Generic USB Hub" AND it != "USB Input Device" AND it does not start with "USB Root Hub") of selects ("Caption from Win32_PnPEntity") of wmi)
# of devices
Period
2 days
* Results in a true/false |

unique values of (number of active devices; number of (selects ("DeviceID from Win32_PnPEntity") of wmi))
Relevance
Sharing
Social Media: |