SCCM Reporting request

Author Message
csharma180

  • Total Posts : 400
  • Scores: -6
  • Reward points : 34330
  • Joined: 12/29/2008
  • Status: offline
SCCM Reporting request Wednesday, May 02, 2012 12:06 PM (permalink)
0
Hello All,
I need to query SCCM 2007 SQL Database and need to get a report extracted with following columns in it
 
Machine Name, Serial Number, Manufacturer,  Model, System Type, Number of logical processor, Speed,  No of cores, Memory, Bios Date, Last Hardware Scan, Last user Logged in

Thanks in Advance
 
 
#1
    Guest
    Re:SCCM Reporting request Wednesday, May 02, 2012 4:03 PM (permalink)
    0
    Here's something that I had that might get you on the right track.  It may not have all the fields, but maybe you can find the others  Check out the resource explorer for the addtitional information you need.
     
    SELECT DISTINCT
       SYS.Netbios_Name0,
       Client0, 
       ProcAddtl.NumberOfCores0 as [Number of Cores],
       TotalPhysicalMemory0,
       Model0,
       NumberOfProcessors0,
       SystemType0, 
       ProcAddtl.NumberOfLogicalProcessors0 as [Number of Logical Processors]
      FROM v_R_System SYS
       left JOIN v_GS_PROCESSOR Processor on SYS.ResourceID=Processor.ResourceID
       left join v_gs_Processor_Addtl0 as ProcAddtl on Processor.ResourceID = ProcAddtl.ResourceID
       left join v_GS_X86_PC_MEMORY on SYS.ResourceID=v_GS_X86_PC_MEMORY.ResourceID
       left join v_GS_COMPUTER_SYSTEM on v_GS_COMPUTER_SYSTEM.ResourceID = SYS.ResourceId 
       order by SYS.Netbios_Name0
     
    Rick Hanson
     
    #2
      csharma180

      • Total Posts : 400
      • Scores: -6
      • Reward points : 34330
      • Joined: 12/29/2008
      • Status: offline
      Re:SCCM Reporting request Thursday, May 03, 2012 8:02 AM (permalink)
      0
      I tried running the report in the SCCM Query analyser, but got the following error message
       
      Invalid Object Name v_gs_Processor_Addtl0
       
      #3
        gjones

        • Total Posts : 2291
        • Scores: 136
        • Reward points : 97820
        • Joined: 6/5/2001
        • Location: Ottawa, Ontario, Canada
        • Status: offline
        Re:SCCM Reporting request Thursday, May 03, 2012 8:07 AM (permalink)
        0
        It is a Custom MOF edit.. Which collection the number of logical CPUs.
         
        #4
          csharma180

          • Total Posts : 400
          • Scores: -6
          • Reward points : 34330
          • Joined: 12/29/2008
          • Status: offline
          Re:SCCM Reporting request Thursday, May 03, 2012 8:56 AM (permalink)
          0
          But in our case we are trying to get this extracted by querying the SQL DB
           
          #5
            gjones

            • Total Posts : 2291
            • Scores: 136
            • Reward points : 97820
            • Joined: 6/5/2001
            • Location: Ottawa, Ontario, Canada
            • Status: offline
            Re:SCCM Reporting request Thursday, May 03, 2012 9:28 AM (permalink)
            0
            Well you are not going to get the logical number of CPUs without the mof edit. so...
             
            #6
              Online Bookmarks Sharing: Share/Bookmark

              Jump to:

              Current active users

              There are 0 members and 1 guests.

              Icon Legend and Permission

              • New Messages
              • No New Messages
              • Hot Topic w/ New Messages
              • Hot Topic w/o New Messages
              • Locked w/ New Messages
              • Locked w/o New Messages
              • Read Message
              • Post New Thread
              • Reply to message
              • Post New Poll
              • Submit Vote
              • Post reward post
              • Delete my own posts
              • Delete my own threads
              • Rate post

              2000-2013 ASPPlayground.NET Forum Version 3.9