Les has a good point. I know I have to use the single-double rule with WMI queries...

Code:

$recordset = DBGetRecordset($objConn,'SELECT MAX(DateTime) FROM hardware WHERE Workstation="PCName"')