cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mmeas
Engaged Sweeper
New to Lansweeper but looking to create a report that will include if a TPM chip is installed on the device.
1 REPLY 1
Bruce_B
Lansweeper Alumni
The report below is a standard Windows asset report with tblTPM added with a left join, the columns from this table will be empty for assets without a TPM chip.

Please use the report below for the information you are after. Instructions for adding this report to your Lansweeper installation can be found here. If you are interested in building or modifying reports, we do recommend:
  • Reviewing some SQL tutorials, as the Lansweeper report builder is a standard SQL editor. If you know SQL, you know how to build Lansweeper reports as well. This seems like a good tutorial.
  • Making use of our database dictionary, which explains in great detail what each database table and field stores. More information on the dictionary can be found here.


Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblTPM.IsActivated_InitialValue,
tblTPM.IsEnabled_InitialValue,
tblTPM.SpecVersion,
tblTPM.ManufacturerVersion,
tblTPM.ManufacturerVersionInfo,
tblTPM.PhysicalPresenceVersionInfo
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join tblTPM On tblAssets.AssetID = tblTPM.AssetId
Where tsysAssetTypes.AssetTypename = 'Windows' And tblAssetCustom.State = 1
Order By tblAssets.Domain,
tblAssets.AssetName