SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Displaying SCCM hardware and Add Remove Program information


Displaying SCCM hardware and Add Remove Program information

Author
Message
James.Bowtell
James.Bowtell
SSC Rookie
SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)

Group: General Forum Members
Points: 32 Visits: 19
Hi All,

I've created a dataset using SCCM sql data and now trying to present the infomation using SQL Server Report Builder. What i'm trying to achieve is that when the report is generated the machines name and hardware is displayed along with all it's installed software registered in Add Remove Programs (One report per page)


SELECT
v_GS_COMPUTER_SYSTEM.Name0 AS [v_GS_COMPUTER_SYSTEM Name0]
,v_GS_COMPUTER_SYSTEM.Manufacturer0
,v_GS_COMPUTER_SYSTEM.Model0
,v_GS_PC_BIOS.SerialNumber0
,v_GS_X86_PC_MEMORY.TotalPhysicalMemory0
,v_GS_PROCESSOR.Name0 AS [v_GS_PROCESSOR Name0]
,v_GS_OPERATING_SYSTEM.Caption0
,v_Add_Remove_Programs.DisplayName0
,v_Add_Remove_Programs.Version0
FROM
v_GS_OPERATING_SYSTEM
INNER JOIN v_GS_COMPUTER_SYSTEM
ON v_GS_OPERATING_SYSTEM.ResourceID = v_GS_COMPUTER_SYSTEM.ResourceID
INNER JOIN v_GS_PROCESSOR
ON v_GS_COMPUTER_SYSTEM.ResourceID = v_GS_PROCESSOR.ResourceID
INNER JOIN v_Add_Remove_Programs
ON v_Add_Remove_Programs.ResourceID = v_GS_COMPUTER_SYSTEM.ResourceID
INNER JOIN v_GS_X86_PC_MEMORY
ON v_GS_COMPUTER_SYSTEM.ResourceID = v_GS_X86_PC_MEMORY.ResourceID
INNER JOIN v_GS_PC_BIOS
ON v_GS_COMPUTER_SYSTEM.ResourceID = v_GS_PC_BIOS.ResourceID
INNER JOIN v_FullCollectionMembership
ON v_FullCollectionMembership.ResourceID = v_GS_COMPUTER_SYSTEM.ResourceID
WHERE
v_FullCollectionMembership.CollectionID = @CollectionID
AND v_Add_Remove_Programs.DisplayName0 NOT LIKE 'Update for Microsoft%'
AND v_Add_Remove_Programs.DisplayName0 NOT LIKE 'Security Update for %'
AND v_Add_Remove_Programs.DisplayName0 NOT LIKE 'Update for %'
AND v_Add_Remove_Programs.DisplayName0 NOT LIKE 'Microsoft % MUI %'
AND v_Add_Remove_Programs.DisplayName0 NOT LIKE 'Hotfix for Windows%'
AND v_Add_Remove_Programs.DisplayName0 NOT LIKE 'Windows XP Hotfix%'
AND v_Add_Remove_Programs.DisplayName0 NOT LIKE 'Update for Office %'
AND v_Add_Remove_Programs.DisplayName0 NOT LIKE 'Update for Outlook %'

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search