SCCM Report - Systems Reporting In Within Last 30 Days

Author Message
dclinsf

  • Total Posts : 7
  • Scores: 0
  • Reward points : 4150
  • Joined: 3/30/2012
  • Status: offline
SCCM Report - Systems Reporting In Within Last 30 Days Wednesday, July 18, 2012 6:27 PM (permalink)
0
Hello All,
 
Is there a canned SCCM 2007 report that list all systems that have successfully reporting into SCCM within a certain window of time, ie last 15 days?
 
Thx,
Dave
 
#1
    Pvt_Ryan

    • Total Posts : 310
    • Scores: 3
    • Reward points : 77050
    • Joined: 8/25/2009
    • Location: Belfast, UK
    • Status: offline
    Re:SCCM Report - Systems Reporting In Within Last 30 Days Thursday, July 19, 2012 4:14 AM (permalink)
    0
    Check the last hardware scan date as it is generally a good indicator.
    http://ninet.org/2011/06/sccm-all-computers-their-ou-and-last-hardware-scan/
     
    Just pull the hardware scan bit out from there.
    Citrix Desktop Infrastructure Analyst
    MCTS: SCCM, CCNA

    Blog/Site: http://ninet.org
     
    #2
      dclinsf

      • Total Posts : 7
      • Scores: 0
      • Reward points : 4150
      • Joined: 3/30/2012
      • Status: offline
      Re:SCCM Report - Systems Reporting In Within Last 30 Days Thursday, July 19, 2012 10:22 AM (permalink)
      0
      Thanks, appreciate it, this sounds like what we need.  Have copied and pasted the query from your link into the SCCM report SQL query but when running getting "No matching records could be found".  Any suggestions?
       
       
      #3
        crazygolfer

        • Total Posts : 18
        • Scores: 0
        • Reward points : 7770
        • Joined: 1/19/2012
        • Status: offline
        Re:SCCM Report - Systems Reporting In Within Last 30 Days Thursday, July 19, 2012 11:52 AM (permalink)
        0
        Here is Query that I use to build a collection off of. This might help you out. 
         
        select SMS_R_System.ResourceId, SMS_R_System.Name, SMS_G_System_WORKSTATION_STATUS.LastHardwareScan from  SMS_R_System inner join SMS_G_System_WORKSTATION_STATUS on SMS_G_System_WORKSTATION_STATUS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_WORKSTATION_STATUS.LastHardwareScan < DateAdd(dd, -30,GetDate())
         
        #4
          Pvt_Ryan

          • Total Posts : 310
          • Scores: 3
          • Reward points : 77050
          • Joined: 8/25/2009
          • Location: Belfast, UK
          • Status: offline
          Re:SCCM Report - Systems Reporting In Within Last 30 Days Thursday, July 19, 2012 12:12 PM (permalink)
          0
          Here is the exact query
          SELECT
          a.ResourceID,
          a.Netbios_name0,
          b.LastHWScan 
          FROM v_R_System a
          INNER JOIN v_GS_WORKSTATION_STATUS b ON a.ResourceID = b.ResourceID
          WHERE b.LastHWScan >= Dateadd(day, -30, getdate())
          <message edited by Pvt_Ryan on Thursday, July 19, 2012 12:13 PM>
          Citrix Desktop Infrastructure Analyst
          MCTS: SCCM, CCNA

          Blog/Site: http://ninet.org
           
          #5
            dclinsf

            • Total Posts : 7
            • Scores: 0
            • Reward points : 4150
            • Joined: 3/30/2012
            • Status: offline
            Re:SCCM Report - Systems Reporting In Within Last 30 Days Friday, July 20, 2012 11:17 AM (permalink)
            0
            That works great!  Thanks! The only remaining piece is, how can I get the report to inlcude operating system?
             
            #6
              Pvt_Ryan

              • Total Posts : 310
              • Scores: 3
              • Reward points : 77050
              • Joined: 8/25/2009
              • Location: Belfast, UK
              • Status: offline
              Re:SCCM Report - Systems Reporting In Within Last 30 Days Monday, July 23, 2012 4:04 AM (permalink)
              0
              SELECT
              a.ResourceID AS [ID],
              a.Netbios_name0 AS [Hostname],
              c.Caption0 AS [Operating System],
              c.CSDVersion0 AS [Service Pack],
              b.LastHWScan AS [Last HW Scan] 
              FROM v_R_System a
              INNER JOIN v_GS_WORKSTATION_STATUS b ON a.ResourceID = b.ResourceID
              INNER JOIN v_GS_OPERATING_SYSTEM c ON a.ResourceID = c.ResourceID
              WHERE b.LastHWScan >= Dateadd(day, -30, getdate())
              <message edited by Pvt_Ryan on Monday, July 23, 2012 4:08 AM>
              Citrix Desktop Infrastructure Analyst
              MCTS: SCCM, CCNA

              Blog/Site: http://ninet.org
               
              #7
                dclinsf

                • Total Posts : 7
                • Scores: 0
                • Reward points : 4150
                • Joined: 3/30/2012
                • Status: offline
                Re:SCCM Report - Systems Reporting In Within Last 30 Days Thursday, July 26, 2012 7:10 PM (permalink)
                0
                Worked perfectly!  Thanks!
                 
                #8
                  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