If your boss ask to get list of laptops which are managed by SMS or SCCM.what do you do and how do you get that. Right click on computer and go to resource explorer to identify the computer is Laptop or Desktop ?
You can identify if the computer is Laptop or Desktop based on its chassis Types.
Below are listed the Chassis types available to create SCCM collection or reports.
For Laptops Chassis Types : 8 , 9, 10, 11, 12, 14, 18, 21
For Desktop Chassis Type : 3, 4, 5, 6, 7, 15, 16
For server Chassis Type: 23
Below is the collection to list all the computers which are laptops which fall in above Chassis type.
You can also replace the values with Desktop computers or servers also you can use joins to club these with AD groups for deploying the applications based on this.
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_SYSTEM_ENCLOSURE on SMS_G_System_SYSTEM_ENCLOSURE.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SYSTEM_ENCLOSURE.ChassisTypes in ( "8", "9", "10", "11", "12", "14", "18", "21" )
Here are some sample reports/queries available which you can make use of it