Solved

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

Posted on 2013-12-17
1
269 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

707 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