dclinsf
-
Total Posts
:
7
- Scores: 0
-
Reward points
:
4150
- Joined: 3/30/2012
|
SCCM Report - Systems Reporting In Within Last 30 Days
-
Wednesday, July 18, 2012 6:27 PM
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
|
|
Pvt_Ryan
-
Total Posts
:
310
- Scores: 3
-
Reward points
:
77050
- Joined: 8/25/2009
- Location: Belfast, UK
|
Re:SCCM Report - Systems Reporting In Within Last 30 Days
-
Thursday, July 19, 2012 4:14 AM
Citrix Desktop Infrastructure Analyst MCTS: SCCM, CCNA Blog/Site: http://ninet.org
|
|
dclinsf
-
Total Posts
:
7
- Scores: 0
-
Reward points
:
4150
- Joined: 3/30/2012
|
Re:SCCM Report - Systems Reporting In Within Last 30 Days
-
Thursday, July 19, 2012 10:22 AM
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?
|
|
crazygolfer
-
Total Posts
:
18
- Scores: 0
-
Reward points
:
7770
- Joined: 1/19/2012
|
Re:SCCM Report - Systems Reporting In Within Last 30 Days
-
Thursday, July 19, 2012 11:52 AM
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())
|
|
Pvt_Ryan
-
Total Posts
:
310
- Scores: 3
-
Reward points
:
77050
- Joined: 8/25/2009
- Location: Belfast, UK
|
Re:SCCM Report - Systems Reporting In Within Last 30 Days
-
Thursday, July 19, 2012 12:12 PM
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
|
|
dclinsf
-
Total Posts
:
7
- Scores: 0
-
Reward points
:
4150
- Joined: 3/30/2012
|
Re:SCCM Report - Systems Reporting In Within Last 30 Days
-
Friday, July 20, 2012 11:17 AM
That works great! Thanks! The only remaining piece is, how can I get the report to inlcude operating system?
|
|
Pvt_Ryan
-
Total Posts
:
310
- Scores: 3
-
Reward points
:
77050
- Joined: 8/25/2009
- Location: Belfast, UK
|
Re:SCCM Report - Systems Reporting In Within Last 30 Days
-
Monday, July 23, 2012 4:04 AM
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
|
|
dclinsf
-
Total Posts
:
7
- Scores: 0
-
Reward points
:
4150
- Joined: 3/30/2012
|
Re:SCCM Report - Systems Reporting In Within Last 30 Days
-
Thursday, July 26, 2012 7:10 PM
Worked perfectly! Thanks!
|
|