Eswar Koneti's Blog

All about Configmgr and its connected objects…….

  • About Author
      View eswar koneti's LinkedIn profile
  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 106 other subscribers

  • Awards


  • FaceBook Updates

  • Catagories

  • Meta

  • Copyright!

    All the blog posts in this website are owned by Eswar Koneti and may not be reused in any mode without prior approval of Eswar Koneti. You may quote one paragraph from the blog posts if you link to the original blog post.
    Happy Reading!

SCCM(configMgr) report for computer Asset information Serialnumber, Manufacturer,Model,Processor,IP Address,Hardaware Scan

Posted by Eswar Koneti on 22nd December 2011

Long back i posted report  http://eskonr.com/2009/12/sccm-report-for-computers-asset-information-including-sn-number-and-model-name/ to get computer information like computer name,Serial number,Processor,Physical memory,service Pack,computer model etc

In this post ,i have modified the report little bit to add more fields to it that gives you lot more information about the computer . It is  very simple and straigh forward report that just use Where class

what columns do you get after running this report ? Name,Serialnumber, Manufacturer,Model,Processor,Memory (KBytes),Size (MBytes),MAC Adress,IP Adress,AD Site,Last user logged in,Operating System,Service Pack,Creationdate in SMS,Last Hardware Scan

SELECT
A.Name0,
MAX (B.SerialNumber0) AS ‘Serialnumber’,
A.Manufacturer0,
A.Model0, C.Name0 AS ‘Processor’,
D.TotalPhysicalMemory0 AS ‘Memory (KBytes)’,
MAX ( E.Size0 ) AS ‘Size (MBytes)’,
MAX (F.MACAddress0) AS ‘MAC Adress’,
MAX (F.IPAddress0) AS ‘IP Adress’,
G.AD_Site_Name0 AS ‘AD Site’,
MAX (A.UserName0) AS ‘Last user logged in’,
H.Caption0 AS ‘Operating System’,
H.CSDVersion0 AS ‘Service Pack’,
G.Creation_Date0 AS ‘Creationdate in SMS’,
I.LastHWScan

FROM
v_GS_COMPUTER_SYSTEM A,
v_GS_PC_BIOS B,
v_GS_PROCESSOR C,
v_GS_X86_PC_MEMORY D,
v_GS_DISK E,
v_GS_NETWORK_ADAPTER_CONFIGUR F,
v_R_System G,
v_GS_OPERATING_SYSTEM H,
v_GS_WORKSTATION_STATUS I

WHERE
A.ResourceID = B.ResourceID AND
A.ResourceID = C.ResourceID AND
A.ResourceID = D.ResourceID AND
A.ResourceID = E.ResourceID AND
A.ResourceID = F.ResourceID AND
A.ResourceID = G.ResourceID AND
A.ResourceID = H.ResourceID AND
A.ResourceID = I.ResourceID

GROUP BY A.Name0, A.Manufacturer0, A.Model0, C.Name0, D.TotalPhysicalMemory0, G.AD_Site_Name0, A.UserName0, H.Caption0, H.CSDVersion0, G.Creation_Date0, I.LastHWScan

You can also other custom values from SQL Views ,please take a look Creating Custom Reports By Using Configuration Manager 2007 SQL Views http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=22052

 

Tags: , , , , , , , , , , , , , , , , , , , , , , ,
Posted in SCCM 2007, SCCM Reports, SQL Quiries | 10 Comments »