Solved

SCCM Reporting - Runing Report Against All Systems Collection - Not Appearing

Posted on 2013-12-17
1
268 Views
Last Modified: 2014-03-04
I am running the following SCCM Report query against the All Systems Collection, however clients that have the Approval = N/A or Not Approved are not being reported.

Any ideas on how I can get the Approval = N/A and Not Approved resources to appear in my report?

SELECT     TOP (100) PERCENT B.Netbios_Name0 AS [Computer Name], A.Model0, B.Client0
FROM         dbo.v_GS_COMPUTER_SYSTEM AS A INNER JOIN
                      dbo.v_R_System AS B ON A.ResourceID = B.ResourceID INNER JOIN
                      dbo.v_FullCollectionMembership AS C ON A.ResourceID = C.ResourceID
WHERE     (C.CollectionID = @CollectionID)
ORDER BY [Computer Name]
0
Comment
Question by:rmessing171
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 31

Accepted Solution

by:
merowinger earned 500 total points
ID: 39850450
Try the following:
SELECT  DISTINCT  SYS.Netbios_Name0 AS [Computer Name], PC.Model0, SYS.Client0
FROM         dbo.v_R_System AS SYS
LEFT OUTER JOIN dbo.v_GS_COMPUTER_SYSTEM AS PC ON PC.ResourceID = SYS.ResourceID 
LEFT OUTER JOIN dbo.v_FullCollectionMembership AS COLL ON PC.ResourceID = COLL.ResourceID 
ORDER BY [Computer Name] 

Open in new window

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question