In Windows 8/8.1 you can run the PowerShell cmdlet below to check for the presence of a TPM. If there isn't one it will return FALSE.
Another option would be to check the computers model. For example, if you know that all of your Latitude E Series laptops have a TPM, you could use a query like this...
Or if you have multiple models...
SELECT model FROM Win32_ComputerSystem WHERE model LIKE "Latitude E%"
SELECT manufacturer,model FROM Win32_ComputerSystem WHERE manufacturer LIKE "Dell%" AND (model LIKE "Latitude D%" OR model LIKE "Latitude E%")