##Note:
WMI queries can be fairly slow and are not always a good idea to use in Applicability relevance for that reason. Using a registry query is better for that purpose in most cases.
Normally something like this would work:
time values of selects "DriverDate FROM Win32_PnPSignedDriver" of wmis
It seems like this isn’t working because DriverDate
contains date but not time info. Instead of having 00 for time, it has ** which is a bit annoying.
This seems to give me YYYYMMDD for DriverDate as a string:
(preceding texts of firsts "000000." of string values of properties "DriverDate" of it) of select objects "* FROM Win32_PnPSignedDriver where DriverDate is not null" of wmis
This will take the YYYYMMDD result and turn it into a BigFix date object:
( (it as date) of (last 2 of it & " " & (substring (4,2) of it as integer as month as three letters) & " " & first 4 of it) of unique value of preceding texts of firsts "000000." of string values of properties "DriverDate" of it) of select objects "* FROM Win32_PnPSignedDriver where DriverDate is not null" of wmis
This is what you are asking for:
properties "DeviceName" of items 0 of (it, (it as date) of (last 2 of it & " " & (substring (4,2) of it as integer as month as three letters) & " " & first 4 of it) of unique value of preceding texts of firsts "000000." of string values of properties "DriverDate" of it) whose(item 1 of it > (it as date) of "21 Jun 2006") of select objects "* FROM Win32_PnPSignedDriver WHERE DriverDate is not NULL" of wmis
You can add more retrieved properties as needed:
(properties "InfName" of it, properties "DeviceName" of it) of items 0 of (it, (it as date) of (last 2 of it & " " & (substring (4,2) of it as integer as month as three letters) & " " & first 4 of it) of unique value of preceding texts of firsts "000000." of string values of properties "DriverDate" of it) whose(item 1 of it > (it as date) of "21 Jun 2006") of select objects "* FROM Win32_PnPSignedDriver WHERE DriverDate is not NULL" of wmis