Thanks! If anyone is interested, here's a query that will show machines and their TPM version. You must enable TPM is SMS_DEF.MOF for this to work, and wait a day or two as machines start reporting back.
SELECT DISTINCT dbo.v_R_System_Valid.Netbios_Name0 as [Computer], dbo.v_R_System_Valid.User_Name0 as [User Name], dbo.v_GS_SYSTEM_CONSOLE_USAGE.TopConsoleUser0 as [Top Console User], dbo.v_GS_OPERATING_SYSTEM.Caption0 AS [Operating System], dbo.v_GS_TPM.SpecVersion0 as [TPM Version] FROM dbo.v_R_System_Valid INNER JOIN dbo.v_GS_SYSTEM_CONSOLE_USAGE ON dbo.v_R_System_Valid.ResourceID = dbo.v_GS_SYSTEM_CONSOLE_USAGE.ResourceID INNER JOIN dbo.v_GS_TPM ON dbo.v_R_System_Valid.ResourceID = dbo.v_GS_TPM.ResourceID inner join v_GS_OPERATING_SYSTEM on (v_GS_OPERATING_SYSTEM.ResourceID = v_R_System_Valid.ResourceID) where dbo.v_GS_TPM.SpecVersion0 IS NOT NULL order by dbo.v_R_System_Valid.Netbios_Name0 Mike From: [email protected] [mailto:[email protected]] On Behalf Of Trevor Sullivan Sent: Friday, September 13, 2013 10:49 AM To: [email protected] Subject: RE: [mssms] Need query help for TPM chip That's because there is not SQL Server view called "SMS_R_System." That's the name of a WMI class. The equivalent of the "SMS_R_System" WMI class in SQL Server is the SQL Server view called "v_R_System." Cheers, Trevor Sullivan From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Murray, Mike Sent: Friday, September 13, 2013 12:31 PM To: [email protected]<mailto:[email protected]> Subject: RE: [mssms] Need query help for TPM chip If I run it as a report, I get this: An error occurred when the report was run. The details are as follows: Invalid object name 'SMS_R_System'. Error Number: -2147217865 Source: Microsoft OLE DB Provider for SQL Server Native Error: 208 If I run the query in SQL MGMT Studio, I get this: Msg 208, Level 16, State 1, Line 1 Invalid object name 'SMS_R_System'. From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Trevor Sullivan Sent: Friday, September 13, 2013 10:27 AM To: [email protected]<mailto:[email protected]> Subject: RE: [mssms] Need query help for TPM chip Ok, what error are you getting? Cheers, Trevor Sullivan From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Murray, Mike Sent: Friday, September 13, 2013 11:30 AM To: [email protected]<mailto:[email protected]> Subject: [mssms] Need query help for TPM chip I enabled the TPM section in SMS_DEF.MOF, now I'd like to run a query showing which machines either have the chip or don't. This query I found online is supposed to show systems that don't have it, but I get an error when I run it. Help! select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_TPM on SMS_G_System_TPM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_TPM.SpecVersion = "Not Supported" Best Regards, Mike Murray Desktop Management Coordinator - IT Support Services California State University, Chico 530.898.4357 [email protected]<mailto:[email protected]>

