Question : Creation of an SCCM Report for Computers By Model

I am attempting to create a report in SCCM to display Computers by Model.  This report needs to display the Computer Name, Login ID, Computer Model, Service Tag (Serial Number).

I've been unable to find a report that successfully gathers this information.  I have seem some SQL statements that have this information but the report does not work wit hthe statement.  Is anyone able to provide this SQL statement for this report with the information above?

Thank you!

Answer : Creation of an SCCM Report for Computers By Model

Copy and Paste the Report SQL Statement Below into a new report.
Click Prompts... Button
Click New Prompt Icon
Enter Name: ID
Enter Prompt Text: Please specify a collection ID
Uncheck Allow an empty value
Check Provide SQL Statement
Click Edit SQL Statement... Button
Copy and Paste the Prompt SQL statement below
The Report is now complete, close dialogue boxes and run.

Cheers
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
*** Report SQL Statement Below Here ***
SELECT
Distinct
  SYS.Netbios_Name0,
  SYS.User_Name0,
  MOD.Manufacturer0,
  MOD.Model0,
  BIO.SerialNumber0
FROM v_R_System SYS
  JOIN v_GS_COMPUTER_SYSTEM MOD on SYS.ResourceID = MOD.ResourceID
  JOIN v_GS_PC_BIOS BIO on SYS.ResourceID = BIO.ResourceID
  JOIN v_FullCollectionMembership FCM ON SYS.ResourceID = FCM.ResourceID
WHERE
  FCM.CollectionID=@ID
ORDER BY SYS.Netbios_Name0
*** Report SQL Statement Above Here ***

*** Prompt SQL Statement Below Here ***
BEGIN
IF (@__filterwildcard = '')
  SELECT DISTINCT CollectionID, Name FROM v_Collection ORDER BY Name
ELSE
  SELECT DISTINCT CollectionID, Name FROM v_Collection
  WHERE CollectionID like @__filterwildcard
  ORDER BY Name
END
*** Prompt SQL Statement Above Here ***
Random Solutions  
 
programming4us programming4us