SCCM 2012 Reports: Viewing SQL Code

Hi
Is there a way to view the SQL code of the template reports .i.e. Software 06A - Search for installed software?
Regards
Ivan

how to download the .rdl:
Go to http://YOURConfigMgrServerNamethatHastheSRSRole/reports
Browse to the folder containing the report.
When you are looking at the report title, withOUT clicking on the report, when you hover over the report name, notice how there is a downward triangle on the right?  Move your mouse over that, and pull that down.  One of the choices listed is "Download..." 
Click on that, and save the report's RDL to a location you'll remember.
Go to that location after saving, and you can open up that .rdl file using Notepad.  A lot of the report will be for formatting, colors, etc; but if you search for the word "Select", you'll find at last one; possibly more if there are parameters
in that report.  One of the locations for Select... something will be the main report code.
Standardize. Simplify. Automate.

Similar Messages

  • SCOM 2012: Report Viewer / SQL Server 2012 CLR??

    Hello,
    I am trying to install an Operations Console to a Management Server and it request
    1. Report Viewer
    Then I tried to install Report Viewer then it requests:
    Microsoft System CLR Types for SQL Server 2012
    These are ne for SCOM 2012?
    I check the MS in SCOM 2007 R2 there is no SQL module installed...
    Any clue?
    How to install this report viewer is it included in another product? Should I use SQL ?
    I don't have any SQL module on this management server
    Thanks,
    Dom
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager

    Hi,
    I hope this can help you:
    http://thoughtsonopsmgr.blogspot.dk/2013/10/upgrading-to-scom-2012-r2-rtm-report.html
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Reporting Service Error Code 7403, on SCCM 2012 R2 with SQL 2012 SP1 CU6

    Dear All,
    I am facing issue to install Reporting Services Point on SCCM 2012 R2 with SQL 2012 SP1 CU6. getting error messages id 7403. please let me know if SQL 2012 SP1 CU6 is supported with SCCM 2012 R2 or not & if you have any solution on it.
    Error Message: The report server service is not running on Reporting Service Point server "SCCM2012"; start the service to enable reporting.

    I am getting below error msg when trying to browse both sites
    1) For Reports
    The report server cannot decrypt the
    symmetric key that is used to access sensitive or encrypted data in a report
    server database. You must either restore a backup key or delete all encrypted
    content. (rsReportServerDisabled)
    Get Online Help
    Keyset does not exist (Exception from
    HRESULT:
    0x80090016)
    2) For Reportserver
    Reporting Services Error
    The report server cannot decrypt the symmetric key that is used to access
    sensitive or encrypted data in a report server database. You must either restore
    a backup key or delete all encrypted content. (rsReportServerDisabled)
    Get Online Help
    Keyset does not exist (Exception from HRESULT: 0x80090016)
    SQL Server Reporting Services

  • SCCM 2012 Reporting Code Returns Same Value For Total Number Of Required Updates Per Computer

    I'm trying to make a custom report in SCCM 2012 R2 with SQL 2012 since Microsoft took out the ability to list the number of updates needed per computer. This was in WSUS reporting but is not in SCCM reporting. I've made a custom report for this but can't
    quite get it to work. The report runs but the same value for total number of updates needed shows up for every computer. I took a query from one report and am trying to get it to run inside the select statement from another report. Here is the code as it is
    right now:
    declare @CI_ID int; select @CI_ID=CI_ID from fn_rbac_ConfigurationItems(@UserSIDs)  where CIType_ID=9 and CI_UniqueID=@AuthListID
              declare @StateID int
              select @StateID=StateID from fn_rbac_StateNames(@UserSIDs)  sn where sn.StateName=@StateName and TopicType=300
              declare @RequiredUpdateCount int
              select @RequiredUpdateCount=Count(v_StateNames.Statename) from   
    v_StateNames,   
    v_Update_ComplianceStatusAll   
    Inner Join v_R_System On (v_R_System.ResourceID = v_Update_ComplianceStatusAll.ResourceID)   
    Inner Join v_UpdateInfo On (v_UpdateInfo.CI_ID = v_Update_ComplianceStatusAll.CI_ID)   
    where   
    v_StateNames.TopicType = 500 and   
    v_StateNames.StateID = v_Update_ComplianceStatusAll.Status and   
    v_StateNames.Statename = 'Update is required'   
    Group By v_R_System.Name0
              select
                ccm.ResourceID,
                rs.Name0+isnull('.'+rs.Resource_Domain_or_Workgr0, '') as MachineName,
                rs.User_Domain0+'\'+User_Name0 as LastLoggedOnUser,
                asite.SMS_Assigned_Sites0 as AssignedSite,
                rs.Client_Version0 as ClientVersion,
    @RequiredUpdateCount as RequiredUpdates  
              from fn_rbac_ClientCollectionMembers(@UserSIDs)  ccm
              join fn_rbac_Update_ComplianceStatusAll(@UserSIDs)  cs on cs.CI_ID=@CI_ID and cs.ResourceID=ccm.ResourceID
                and (@StateID=0 and cs.Status=0 or @StateID=1 and cs.Status in (1,3) or @StateID=2 and cs.Status=2)
              join fn_rbac_R_System(@UserSIDs)  rs on rs.ResourceID = ccm.ResourceID
              left join fn_rbac_RA_System_SMSAssignedSites(@UserSIDs)  asite on asite.ResourceID = ccm.ResourceID
              where ccm.CollectionID=@CollID
              order by MachineName
    Ben JohnsonWY

    There's plenty wrong with it. It gives you no idea of how many patches each box needs. Then you have to click on each computer, click the sort arrow by the "required" column, and count the number needed. When you have hundreds of computers to work on this
    is a big deal as it's very time consuming. What's great about the view in WSUS that had this is that it listed this for you and you could sort the required column. So if have most computers needing 2 patches, you can go find the one that needs 40 and 150 (to
    over exaggerate) and put the time on them needed to see why they're so far behind. The WSUS format was quick, easy, and informative. SCCM makes getting this info a royal PITA which is why I'm (and many others) so royally peeved at MicroShaft for removing this
    functionality, but that's what we've all come to expect from MicroShaft--just like when then took the nice colorful themes out of Office 2010 and replaced them in Office 2013 with just white, gray, and a darker gray. That's super boring and actually hurts
    my eyes.
    Ben JohnsonWY

  • How to show a filter of the values in SCCM 2012 report?

    I didn't see a forum for SCCM 2012 reporting, only SCCM 2007 Reporting, so I hope I am posting in the correct forum for this.
    We upgraded to SCCM 2012 R2 and when running a report and entering values we can no longer type in a filter and then see a filtered list of values like in SCCM 2007.
    Is there a solution for this?  This was very useful especially in the Add/Remove report because many times we don't know exactly what to enter. 
    Below is a snapshot of what we did in SCCM 2007.

    Garth, unfortunately, I don't.   I was fair at SCCM 2007 reporting and modifying SQL statements, but it seems everything has changed with SCCM 2012 reporting.  For the specific SCCM 2012 report I mentioned,  "Computers with specific software
    registered in Add Remove Programs", is there some code I could paste in somewhere to get it to operate like the SCCM 2007 report?
    Are you using BIDS or Report Builder. (Keep in mind that I recommend BIDS over RP)
    Here are the basic steps:
    Review the SQL for the Prompt
    Add a variable to the prompt
    Import; refresh the SQL query within the dataset
    Move that the new variable is BEFORE the existing variable
    Enter in the Prompt text “Enter computer filer”
    Test to make sure everything is nice
    Upload the report.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SCCM 2012 Reporting point server instance blank

    I have installed SCCM 2012 With remote SQL database server successfully, at the time of Reporting service point role installation, its verified the SCCm database successfully but SQL server service instance is blank, what would be the reason....
    Below my SCCM architecture:
    1. Created one Database in Remote server SQL server is in failover cluster active passive mode
    2. Configured Reporting services in active mode.
    3. at the time of reporting point role installed failover cluster database name given and its successfully verified with SCCM_123 database.
    4. on the instance name showing blank.
    Please help me if anyone facing this type of problem.
    Thanks in advance.
    Rishi!!
    Regards, Rishi

    It is not totally intuitive when installing the Reporting Point role with a cluster.  When installing a Failover Cluster, SSRS can only get put on one node or on its own box, as it uses NLB for scale-out not FoC.  SSRS is also not configured by
    default if you use it with a clustered SQL instance, so you have to open SSRS Configuration Tool and make sure the ReportServerDB is created, and that the URLs can be browsed.  Once that is done, then try adding it in CfgMgr:
    In CfgMgr, In the Administration workspace, expand Site Configuration, and then click
    Servers and Site System Roles.
    Select the node that has SSRS installed on it (not the Failover Cluster virtual computer account).  If SSRS is on its own box, first you have to go to
    New site system and add the SSRS box.
    Then, on the Home tab, in the Server group, click
    Add Site System Role. The Add Site System Roles Wizard opens.  Choose Reporting Point, and after verifying the connection to the CfgMgr DB, the instance name should populate.
    http://technet.microsoft.com/en-us/library/gg712698#BKMK_InstallReportingServicesPoint
    http://social.technet.microsoft.com/Forums/en-HK/configmanagerdeployment/thread/390a6ea8-8a24-47d0-b6ad-2e1063bbc72d

  • SCCM 2012 report w/ selectable collection

    I am trying to create a report with a selectable collection parameter.  The original query I'm using is as follows (Stolen from
    http://blogs.technet.com/b/infratalks/archive/2013/09/10/sccm-2012-reporting-get-system-serial-number-amp-create-custom-ssrs-report.aspx):
    Select sys.Name0 Machine, CS.UserName0 'User Name',OS.Caption0 OS, OS.CSDVersion0 'Service Pack',CS.Manufacturer0 Manufacturer,CS.Model0 Model,BIOS.SerialNumber0 'Serial Number',RAM.Capacity0 Memory, cs.SystemType0
    From v_R_System SYS
      left join v_GS_COMPUTER_SYSTEM CS on sys.Name0=cs.Name0
      left join v_GS_PC_BIOS BIOS on sys.ResourceID=bios.ResourceID
      left join v_GS_OPERATING_SYSTEM OS on sys.ResourceID=OS.ResourceID
      left join v_GS_PHYSICAL_MEMORY RAM on sys.ResourceID=ram.ResourceID
      --Where sys.Name0 = @variable
      order by sys.Name0
    This works fine, but it gives me that information for EVERY machine in our infrastructure globally.  I am only interested in getting this information from machines in certain collections and I want to be able to select the collection each time I run
    the report.  I found this article:
    http://it.peikkoluola.net/2013/06/02/report-with-a-selectable-collection-parameter-sql/ and followed the steps, but cannot run the report successfully.  I'm guessing it has something to do with needing to modify my query, but I am a newb with SQL and
    have no clue what or where I should be tweaking.  Just adding "WHERE(dbo.v_FullCollectionMembership.CollectionID
    = @COLLID)" gives me a syntax error.  Moving it above "Order by sys.name0" gives an error about not being bound to anything, which makes sense but as I mentioned, I don't know what to tweak.  Help!  Thanks.

    Select sys.Name0 Machine, CS.UserName0 'User Name',OS.Caption0 OS, OS.CSDVersion0 'Service Pack',CS.Manufacturer0 Manufacturer,CS.Model0 Model,BIOS.SerialNumber0 'Serial Number',RAM.Capacity0 Memory, cs.SystemType0
    From v_R_System SYS
      left join v_GS_COMPUTER_SYSTEM CS on sys.Name0=cs.Name0
      left join v_GS_PC_BIOS BIOS on sys.ResourceID=bios.ResourceID
      left join v_GS_OPERATING_SYSTEM OS on sys.ResourceID=OS.ResourceID
      left join v_GS_PHYSICAL_MEMORY RAM on sys.ResourceID=ram.ResourceID
      join v_fullcollectionmembership fcm on fcm.resourceid=sys.resourceid
      Where fcm.collectionid = @COLLID
      order by sys.Name0
    Try the above, note that @COLLID is a placeholder for a variable.  It is presumed that you are creating this using Report Builder 3.0 (or better) or some other SQL tool to create reports for use on your SRS reporting point.  If you happen
    to be using Report Builder, once you save the above, under parameters you'd have a place for COLLID.  Now, what you want is to be able to have that parameter be populated with your collection names, so that you can select from the list when the report
    is run.
    So... another DataSet, with a query like:
    select collectionid, name
    from v_collection
    order by name
    Then, back to your parameters, COLLID, available values, Get values from a query, and you'll want to use that dataset you just made, and Value field is collectionid, and Label field is Name.
    If you want to test the top query in regular sql, don't use @collID.  figure out the collectionid of a specific collection, and put in where fcm.collectionid='ABC00012'
    Standardize. Simplify. Automate.

  • SCCM 2012 Report Problem

    hi there,
    we are using sccm 2012 with reports functionality on SQL 2008 R2 since 2 weeks now and everything is working fine, including reports.
    most of the time i monitor the reports for "Status for a specified task sequence deployment on a specific computer"
    but since yesterday i noticed that i cannot see any data here anymore - all task sequence deployments (which are working fine without errors) are not shown here anymore. not only i cannot see the current deployments of computers, i am also not able to see
    data for deployments we had 2 weeks ago.
    there is no error; sccm 2012 reports are just showing me no data (just for 1,2 computers instead of 20 or 30).
    i rebooted sccm 2012 and also took a look at the component status; no error related to reporting system and reporting service is running.
    anyone has a clue?

    Since no one has answer this post, I recommend opening  a support case with CSS as they can work with you to solve this problem.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SCCM 2012 Report equivalent of WSUS Report

    In the old WSUS admin console you could set your display under All Computers (and other computer groups) to show patches that were Failed/Needed/Applied. I found this EXTREMELY useful. I can not find an equivalent within SCCM 2012. Does such a report exist
    and if not, how do I go about making one? Software Updates A - Compliance, Compliance 1 is sort of close but it makes you click multiple times to get one report and you have to do it for each group. In WSUS all you had to do was click once or twice and I see
    no option equivalent to All Computers.
    Ben JohnsonWY

    Here's the whole set:
    http://social.technet.microsoft.com/Forums/en-US/78d145bb-81d2-45c7-9e23-d0980aaaf7ca/sccm-2012-r2-how-to-get-ipaddress-working-in-my-custom-report?forum=configmanagergeneral
    http://social.technet.microsoft.com/Forums/en-US/d27bf671-91b4-45e9-bbc9-a3da9a4fd628/sccm-2012-compliance-7-customize-for-total-updates-needed?forum=configmanagergeneral
    http://social.technet.microsoft.com/Forums/en-US/e865c492-9058-4141-9af7-26b280fbfe0b/sccm-2012-reporting-code-returns-same-value-for-total-number-of-required-updates-per-computer?forum=configmanagergeneral
    http://social.technet.microsoft.com/Forums/en-US/1e5a2644-4eb7-4bed-92a3-a07d670bbb51/software-update-compliance-report-in-sccm-2012?forum=configmanagersecurity
    http://social.technet.microsoft.com/Forums/en-US/3e3e0120-7e8c-4c9f-a1e0-4dc1fffe0618/sccm-2012-report-equivalent-of-wsus-report?forum=configmanagergeneral
    Hope it helps
    Ben JohnsonWY

  • SCCM 2012 Report for Software registered in Add/Remove programs

    Hi
    Am looking to create an SCCM 2012 Report for Software registered in Add/Remove programs on windows 7 machines but dont have enough experience with report builder to do this.
    Was hoping someone could help.

    When i use the url i still only see the following categories
    Administrative Security
    Asset Intelligence
    Client Push
    Client Status
    Compliance and Settings ManagementHave looked through them all and that one is not there
    the only software ones are the following
    Report Software 01A - Summary of installed software in a specific collectionThis report provides a summary of installed software ordered by the number of instances found from inventory.
     Open Menu
    Report Software 02A - Product families for a specific collectionThis report lists the product families and the count of software in the family for a specific collection.
     Open Menu
    Report Software 02B - Product categories for a specific product familyThis report lists the product categories in a specific product family and the count of software within the category. This report is linked to Software 02C - Software in a specific product
    family and category.
     Open Menu
    Report Software 02C - Software in a specific product family and categoryThis report lists all software that is in the specified product family and category. This report is linked to Software 06B - Software by product name.
     Open Menu
    Report Software 02D - Computers with specific software installedThis report lists all computers with specific software installed. This report is linked to Software 02E - Installed software on a specific computer .
     Open Menu
    Report Software 02E - Installed software on a specific computerThis report lists all software installed on a specific computer.
     Open Menu
    Report Software 03A - Uncategorized softwareThis report lists the software that is either categorized as unknown or has no categorization.
     Open Menu
    Report Software 04A - Software configured to automatically run on computersDisplays a list of software configured to automatically run on computers.
     Open Menu
    Report Software 04B - Computers with specific software configured to automatically runDisplays all computers with specific software configured to automatically run.
     Open Menu
    Report Software 04C - Software configured to automatically run on a specific computerDisplays installed software configured to automatically run on a specific computer.
     Open Menu
    Report Software 05A - Browser Helper ObjectsThis report displays the Browser Helper Objects installed on computers in a specific collection.
     Open Menu
    Report Software 05B - Computers with a specific Browser Helper ObjectDisplays all of the computers with a specific Browser Helper Object.
     Open Menu
    Report Software 05C - Browser Helper Objects on a specific computerDisplays all Browser Helper Objects on the specific computer.
     Open Menu
    Report Software 06A - Search for installed softwareThis report provides a summary of installed software ordered by the number of instances based on search criteria for the product name, publisher, or version.
     Open Menu
    Report Software 06B - Software by product nameThis report provides a summary of installed software ordered by the number of instances based on selected Product Name.
     Open Menu
    Report Software 07A - Recently used executable programs by the count of computersThis report displays executable programs that have been used recently with a count of computers on which they have been used. The Software Metering client must be enabled for this
    site to view this report.
     Open Menu
    Report Software 07B - Computers that recently used a specified executable programThis report displays the computers on which a specified executable program has recently been used when you enable the software metering client setting.
     Open Menu
    Report Software 07C - Recently used executable programs on a specified computerThis report displays executables that have been used recently on a specified computer when you enable the software metering client setting.
     Open Menu
    Report Software 08A - Recently used executable programs by the count of usersThis report displays executable programs that have been used recently with a count of users that have most recently used them when you enable the software metering client setting.
     Open Menu
    Report Software 08B - Users that recently used a specified executable programThis report displays the users that have most recently used a specified executable program when you enable the software metering client setting.
     Open Menu
    Report Software 08C - Recently used executable programs by a specified userThis report displays executable programs that have been used recently by a specified user when you enable the software metering client setting.
     Open Menu
    Report Software 09A - Infrequently used softwareThis report displays software titles that have not been used during a specified period of time. You can specify a value that will represent the number of days that have elapsed since the last use (e.g. if you
    enter 90 days, you will see software that was not used in the past 90 days or more). You can also leave the Days not used field empty to see all software titles that were never used.
     Open Menu
    Report Software 09B - Computers with infrequently used software installedThis report displays computers which have software installed that has not been used for a specified period of time. The specified period of time is based on the value specified in the
    'Software 09A - Infrequently used software' report.
     Open Menu
    Report Software 10A - Software titles with specific multiple custom labels definedThis report allows you to view software titles based on matching of all selected custom label criteria. Up to three custom labels can be selected to refine a software title search.
     Open Menu
    Report Software 10B - Computers with a specific custom-labeled software title installedThis report shows all computers in this collection, that have the specified custom-labeled software title installed.
     Open Menu
    Report Software 11A - Software titles with a specific custom label definedThis report allows you to view software titles based on matching of at least one of the selected custom label criteria.
     Open Menu
    Report Software 12A - Software titles without a custom labelThis report displays all software titles that do not have a custom label defined.
     Open Menu
    Report Software 14A - Search for software identification tag enabled softwareThis report provides the count of installed software with a software identification tag enabled.
     Open Menu
    Report Software 14B - Computers with specific software identification tag enabled software installedThis report lists all computers that have installed software with a specific software identification tag enabled.
     Open Menu
    Report Software 14C - Installed software identification tag enabled software on a specific computerThis report lists all installed software with a specific software identification tag enabled on a specific computer.
     Open Menu

  • SCCM 2012 report with BitLocker status

    I am not an expert in SCCM 2012 Report Builder and i am trying to create a report with>
    computername(laptop),drive letter, bitlocker status
    I can't find the property to use in report builder to read the drive letter and bitlocker status. Is there someone who can help me out or had a rdl report file for me ?
    PS. creating a query in SCCM 2012 is easy and works...but how to create a report out of it ??

    SELECT dbo.v_R_System.Name0, dbo.v_GS_ENCRYPTABLE_VOLUME.DriveLetter0, dbo.v_GS_ENCRYPTABLE_VOLUME.ProtectionStatus0
    FROM dbo.v_GS_ENCRYPTABLE_VOLUME INNER JOIN
    dbo.v_R_System ON dbo.v_GS_ENCRYPTABLE_VOLUME.ResourceID = dbo.v_R_System.ResourceID
    Please use the query above, you need to create your own data source of this Report. For more information, please ask at SQL forum, there is a dedicated SSRS forum for this kind of question.
    Juke Chou
    TechNet Community Support

  • MBAM - SCCM 2012 Reports - Error: the 'MBAM Policy' view does not exist

    Hi
    I have installed MBAM with SCCM 2012 integration. A single server install with SQL server 2012. Mostly it has gone smoothly and laptops are being encrypted and pins stored and recoverable. The problem I have is reports are not showing. I get the following
    error message.
    "Error: the 'MBAM Policy' view does not exist"
    Any ideas why this is? I get the same error message with all 4 reports.

    Hi Slycy,
    There is another thread that seems to be a similar issue
    here that may help you. The last post in particular has a number of steps that you can use to speed up creation of the views:
    Just for future reference, there are quite a few things that have to happen before the view is created. This is merely how CM works.
    Make MBAM MOF changes
    Select TPM spec version in hardware inventory
    Install MBAM CM Integration feature
    Perform a machine policy refresh cycle on a client to get the MOF changes that need to be inventoried
    Perform hardware inventory
    Update MBAM Supported Computers collection membership.  The machine should appear if it meets the criteria
    Run another machine policy refresh on the client so that the Configuration Baseline will come down
    Make sure that the MBAM agent has woken up once
    Evaluate the Configuration Baseline
    The MBAM views should be created now.
    You don't have to do this for every machine, but this is the process to speed it up.  If you let CM do it, it could take over a week before the view is created the first time, depending on when Hardware inventory runs, etc.
    Hope this helps,
    David

  • SCCM 2012 Report Issue

    Hello,
    I'm very new to SQL reporting so if this isn't the right place to ask please point in the right place. I'm comfortable enough to go into SQL Management Studio and look at the views to pull what I want for data, but when it comes to making it into a report is
    where I'm still learning. I can make a report and inject the code and boom I got data but with this query I want it to only query against the selected device collection from the drop down ( I can deal with hardcoding a device collection id). I found a canned
    report that has a drop drop of collections and can't put my head around what I need to do so this query doesn't query every device but rather the collection I pick in the drop down.
    Can anyone give me some pointers on what to do?
    SELECT        dbo.v_GS_OPERATING_SYSTEM.Caption0 AS [Operating System], dbo.v_GS_OPERATING_SYSTEM.CSDVersion0 AS [Service Pack], dbo.v_GS_COMPUTER_SYSTEM.Manufacturer0 AS Manufacturer,
                             dbo.v_GS_COMPUTER_SYSTEM.Model0 AS Model, dbo.v_GS_X86_PC_MEMORY.TotalPhysicalMemory0 AS [Total Memory (KBytes)],
    dbo.v_GS_PROCESSOR.NormSpeed0 AS [Processor Speed (GHz)],
                             dbo.v_GS_LOGICAL_DISK.Description0 AS [Logical Disk Description], dbo.v_GS_LOGICAL_DISK.DeviceID0 AS [Logical Disk
    ID], dbo.v_GS_LOGICAL_DISK.Size0 AS [Logical Disk Size],
                             dbo.v_GS_PC_BIOS.SerialNumber0 AS [Serial Number], dbo.v_R_System.AD_Site_Name0 AS [AD Site], dbo.v_R_System.Netbios_Name0
    AS [NetBIOS Name]
    FROM            dbo.v_R_System INNER JOIN
                             dbo.v_GS_OPERATING_SYSTEM ON dbo.v_R_System.ResourceID = dbo.v_GS_OPERATING_SYSTEM.ResourceID INNER JOIN
                             dbo.v_GS_PC_BIOS ON dbo.v_GS_OPERATING_SYSTEM.ResourceID = dbo.v_GS_PC_BIOS.ResourceID INNER JOIN
                             dbo.v_GS_SYSTEM_ENCLOSURE_UNIQUE ON dbo.v_GS_PC_BIOS.ResourceID = dbo.v_GS_SYSTEM_ENCLOSURE_UNIQUE.ResourceID INNER
    JOIN
                             dbo.v_GS_COMPUTER_SYSTEM ON dbo.v_GS_SYSTEM_ENCLOSURE_UNIQUE.ResourceID = dbo.v_GS_COMPUTER_SYSTEM.ResourceID INNER
    JOIN
                             dbo.v_GS_X86_PC_MEMORY ON dbo.v_GS_COMPUTER_SYSTEM.ResourceID = dbo.v_GS_X86_PC_MEMORY.ResourceID INNER JOIN
                             dbo.v_GS_PROCESSOR ON dbo.v_GS_X86_PC_MEMORY.ResourceID = dbo.v_GS_PROCESSOR.ResourceID INNER JOIN
                             dbo.v_GS_OPERATING_SYSTEM AS v_GS_OPERATING_SYSTEM_1 ON dbo.v_GS_PROCESSOR.ResourceID = v_GS_OPERATING_SYSTEM_1.ResourceID
    INNER JOIN
                             dbo.v_GS_LOGICAL_DISK ON v_GS_OPERATING_SYSTEM_1.ResourceID = dbo.v_GS_LOGICAL_DISK.ResourceID

    I could say use a variable, but that would probably still be a bit vague. I think the following link provides a nice example of how you could do this:
    http://asithadesilva.wordpress.com/2013/04/01/how-to-prompt-collection-to-a-report-in-sccm-2012/
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Sccm 2012 reporting services server instance blank

    Hi guys,
    Can anyone provide me tips to install reporting service point on SCCM 2012 server.
    P.S: SRS instance configured in SQL server 2008 R2 SP2 and it can accessible (http://<SQLserver>/Reports/) in SCCM 2012 server
    Please help me!
    Thanks,

    If you don't have DNS entry for your Report Service Point (SQL server), the instance field can be blank too.
    Can you expand on this as I have never heard of this issue before.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SCCM 2012 - Reporting Services - No srsrpsetup.log file

    Hi all,
    just in the process of moving from SCCM 2007 to 2012 R2. Here's the set up: SCCM installed on Win 2012 R2 box, SQL back end is off box on a Win 2012 R2 cluster, SQL Reporting Services is installed on a dedicated Win 2012 R2 box.
    I've installed the Reporting Services Point onto the SRS01 box (which also installed the Site system and Component server roles). The role seems to have instlled ok - it's popped up under the Component Status as Healthy and the State Messages look ok:
    I was under the impression that I should then see a new log file (SRSRPSetup.log) appear in the install directory (D:\Program Files\Microsoft Configuration Manager\Logs) but so far nothing's appeared. Since the log files are usually the best to start
    troubleshooting I'm a bit stumped as to where to begin troubleshooting this. Does anyone have any suggestions as to why the log file may not have appeared?
    Thanks for the help!

    Ignore this, just had a poke around on the SRS server and found the log files under D:\SMS\logs. Should have realised sine the role was installed on the SRS01 server, that's naturally where the role installation logs would be located!

Maybe you are looking for