If we keep building out the detection of “Model, Firmware” as tuple string item-formatted strings, we can keep adding on this detection. This compares both HPSA and Win32_Disk against the list of known-affected models efficiently
items 0 of (elements of item 0 of it, item 1 of it) whose (tuple string item 0 of item 0 of it is contained by item 1 of it)
of (union of
(
/* Win32_DiskDrive WMI */ set of (concatenations ", " of ( (it as trimmed string) of (following text of first " " of it | it) of (string value of property "Model" of it | ""); string value of property "FirmwareRevision" of it | "") of it ) of select objects "* from Win32_DiskDrive" of wmis
/* HPQ WMI*/ ; set of (concatenations ", " of ( (it as trimmed string) of (following text of first " " of it | it) of (string value of property "ElementName" of it | ""); string value of property "VersionString" of it | "") of it ) of select objects "ElementName,VersionString from HPSA_DiskDriveFirmware" of wmis "root/HPQ"
)
/*Affected models*/ ,set of ("VO0480JFDGT";"VO0960JFDGU";"VO1920JFDGV";"VO3840JFDHA";"MO0400JFFCF";"MO0800JFFCH";"MO1600JFFCK";"MO3200JFFCL";"VO000480JWDAR";"VO000960JWDAT";"VO001920JWDAU";"VO003840JWDAV";"VO007680JWCNK";"VO015300JWCNL";"VK000960JWSSQ";"VK001920JWSSR";"VK003840JWSST";"VK003840JWSST";"VK007680JWSSU";"VO015300JWSSV"))