Inventory report for laptops who have webcam feature ?
You can use this report both on SCCM 2007 and Configmgr 2012 Environment.
select cs.name0 [Computer name],
cs.username0 [Last loggedin User],
os.Caption0 [OS],os.InstallDate0 [OS Installed Date],
cs.Manufacturer0,cs.Model0 ,
WS.LastHWScan [Reported Date to SCCM]
from v_GS_COMPUTER_SYSTEM cs,v_GS_SYSTEM_ENCLOSURE se,v_GS_OPERATING_SYSTEM OS, v_GS_WORKSTATION_STATUS WS
where cs.ResourceID=se.ResourceID and
cs.ResourceID=OS.ResourceID and
cs.ResourceID=WS.ResourceID and
se.ResourceID in (select ResourceID from v_GS_SYSTEM_DEVICES where Name0 like ‘%camera%’ or Name0 like ‘%webcam%’)
and SE.ChassisTypes0 in ( ’8′,’9′,’10′,’11′,’12′,’14′,’18′,’21′)
group by cs.Name0,cs.UserName0,cs.Manufacturer0,cs.Model0,OS.Caption0,OS.InstallDate0,WS.LastHWScan
Note: There reports are created for for Dell and Lenovo models only.Webcam name differs from manufacture to manufacture,so if you have other models like hp,ThinkPad etc,you should look at resource explorer—>hardware –>system devices for the webcam name.
Who do not have: use Not in syntax:
select cs.name0 [Computer name],
cs.username0 [Last loggedin User],
os.Caption0 [OS],os.InstallDate0 [OS Installed Date],
cs.Manufacturer0,cs.Model0 ,
WS.LastHWScan [Reported Date to SCCM]
from v_GS_COMPUTER_SYSTEM cs,v_GS_SYSTEM_ENCLOSURE se,v_GS_OPERATING_SYSTEM OS, v_GS_WORKSTATION_STATUS WS
where cs.ResourceID=se.ResourceID and
cs.ResourceID=OS.ResourceID and
cs.ResourceID=WS.ResourceID and
se.ResourceID not in (select ResourceID from v_GS_SYSTEM_DEVICES where Name0 like ‘%camera%’ or Name0 like ‘%webcam%’)
and SE.ChassisTypes0 in ( ’8′,’9′,’10′,’11′,’12′,’14′,’18′,’21′)
group by cs.Name0,cs.UserName0,cs.Manufacturer0,cs.Model0,OS.Caption0,OS.InstallDate0,WS.LastHWScan
SSRS Report:
To create collection,follow the blog post how to create http://eskonr.com/2010/11/sccm-collection-to-list-all-the-laptop-computers-2/
SCCM Configmgr report:Inventory for Webcam Devices ? is a post from: Eswar Koneti's Blog