SCCM 2012 Reports / SQL - what is @UserSIDs?
Hi,
I am trying to create some SQL to query the SCCM database.
If I dig into the reports I see functions that are called like
fn_rbac_Package(@UserSIDs)
If I look into this function I see it defined as:
CREATE FUNCTION [dbo].[fn_rbac_Package] (@UserSIDs nvarchar(max))
RETURNS TABLE
AS
RETURN
SELECT
FROM v_Package
GO
So it is not obvious to me but what is the @UserSIDs really doing?
And what should I set it to if I want use these functions from SQL Management
studio, so I can run my own queries.
for example:
select * from fn_rbac_Package("")
Thanks,
Ward.
Based solely on SQL that you post, you MUST be CM12. UserSIDs is not really used until you move to CM12R2. Then RBA feature is leverage to restrict what object a user can see.
BTW, I hope to be present at
http://mms.mnscug.org/ on this exact topic.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ
Similar Messages
-
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 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. -
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 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 -
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 JohnsonWYHere'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 -
I've posted this to the SCCM 2012 forum and only received one response so far that states that this is a known issue that has been discussed before and isn't easy to fix; I was not given any actual solution either. Since this involves SSRS I
thought I would try my luck here as well.
I'm having almost exactly the same problem as is referenced in this article: http://social.msdn.microsoft.com/Forums/uk/sqlreportingservices/thread/587a3319-bc54-4d30-bb3f-bb90a0c6ec50. When
I try to run either of these reports (Computers with specific software registered in Add Remove Programs; Count of instances of specific software registered with Add or Remove Programs) I receive the XML error shown in the attached screenshot. I'm fairly
sure the problem is the same as the other admin was experiencing and I just need to remove the unprintable characters (of the application name) from the dbo.v_Add_Remove_Program column.
The error references 0xFFFF but I could not find what that exactly translates too, other than it appears to be at the end of the spectrum for Unicode characters. I used the following sql query to search for the 0xFFFF entry, but no results were found:
use CM_UV2
Select distinct
CHARINDEX(cast(0xFFFF as varchar(1)),DisplayName0),
DisplayName0
from
dbo.v_Add_Remove_Programs
Where
CHARINDEX(cast(0xFFFF as varchar(1)),DisplayName0) > 0
When I used the original hex value of 0x28 I get plenty of results returned with "(" in them so the query seems sound. One of the articles I was searching mentioned running the query manually using the Management Studio and looking for strange characters
there but I'm not sure how to do that.
Basically I just need help finding the offending character and removing it. I also need to be able to replicate this for other strings as this looks like an error that will reoccur whenever any new software appears that has weird encoding in the title.
Thank you in advance for any help given.
Über RandomHi Uber,
This is a known issue that error occurs when running report "Count of instances of specific software registered with Add or Remove Programs" due to non-printable characters for XML. Based on internal research, the hotfix for this issue will be
included in the System Center 2012 Configuration Manager Service Pack 1.
As a workaround, you can remove the nonprintable character populated into the report parameter by referring to the following KB article:
http://support.microsoft.com/KB/914159
Hope this helps.
Regards,
Mike Yin
Mike Yin
TechNet Community Support -
SCCM 2012 - Migrating SQL components to cluster including Reporting Services
Current SCCM 2012 environment:
- CAS with database on remote SQL (non-cluster) server in a named instance - SQLSRV\CASINST
- SQL Reporting Services in also installed in the SQLSRV\CASINST instance
- The SCCM Reporting Services Point role is installed on the SQLSRV\CASINST instance
- Primary server with database on the same remote SQL (non-cluster) server in a different named instance - SQLSRV\PRIINST
Now I would like to move all of the database stuff to an existing SQL 2008 R2 cluster (SQLCLUSTER) and decommission the SQLSRV server. SQLCLUSTER already exists and the default instance is already in use (for other applications) for both database engine
services and reporting services.
From my understanding:
- SQL 2008 R2 Reporting Services cannot be clustered
- Best practise is to install Reporting Services Point on a remote site server rather than a CAS server
- SSRS can be installed on nodes in SQL cluster as standalone installs - with the caviat that they don't use instance names already in use
So I plan to:
- Move CAS database to new named instance on cluster eg SQLCLUSTER\CASINST
- Move primary database to new named instance on cluster eg SQLCLUSTER\PRIINST
- Install SQL Reporting Services on one of the cluster nodes (unclustered) using a named SSRS instance eg SQLCLUSTERNODE1\SCCMREPORTING
- This article points out some interesting results of not have a default instance - http://magalhaesv.wordpress.com/2012/05/24/system-center-configuration-manager-x-sql-server-reporting-services-x-wmi-english-version/
- Move Reporting Services Point from SQLSRV\CASINST to the cluster node eg SQLCLUSTERNODE1\SCCMREPORTING
I have read on some forums (eg
http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/40ad0cb4-a464-4576-b824-957ed6e1b2e2) things like '' If you have an app like SCCM that requires a default instance of SSRS, you are out of luck if your cluster already has a default
instance of the database engine.", but I cannot find this anywhere in Microsoft documentation. From the MS documentation (http://technet.microsoft.com/en-us/library/7fd0d4f5-14e0-4ec7-b2e6-3b67487df555#BKMK_InstallReportingServicesPoint)
I understand that as long the current user has read access to WMI on the remote site server where SQL Reporting Services is installed, you should be able to use a named instance for SQL Reporting Services and successfully install the Reporting Services Point
on it.
So a 2 part question:
- Anybody see any obvious flaws in my high level plan?
- Anybody care to comment on the SCCM requiring a default instance of SSRS?
My Microsoft Core Infrastructure & Systems Management blog -
blog.danovich.com.auYes, I know this is an old post, I’m trying to clean them up, Did you figure this out, if so how?
http://www.enhansoft.com/
Hi Garth,
Yes we moved the DBs and RS as outlined above. As expected, we needed to have a default instance of RS because otherwise the SCCM console doesn't see the Reporting Services instance when you try to deploy the Reporting Services site role.
So the above plan worked.
My Microsoft Core Infrastructure & Systems Management blog -
blog.danovich.com.au -
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 JohnsonWYThere'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 -
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, RishiIt 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 -
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.ResourceIDI 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 -
How to determine linked reports of a SCCM 2012 Report
Hi,
My end objective is to get the SQL statement for a report - 'Deployment that target a computer'.
I can see SQL statements through Data sets in Report Builder. those SQL Statements are accepting few parameters from some linked report i believe. I want to determine the values of those linked parameters.
let me know how can we check what are the linked reports for a particular report in SCCM 2012
Sonam RastogiYou could open a Report in Report Builder, right click on one of the field in the Report and click properties. There under Action you should see if the field is linked to another report.
-
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 -
Hi All,
I am unable to view Reports in the SCCM CM 2012 console and the URL.
I have installed the Reporting service in DB server and later also ran the Reporting service configuration on DB server.
After that I am able to browse to the URL but do not see any default reports.
I have followed http://www.windows-noob.com/forums/index.php?/topic/4550-using-sccm-2012-rc-in-a-lab-part-11-adding-the-reporting-services-point-role/
Please suggestHi,
This is what I am getting in the log SRSRP
Any Suggestions
Timed Out... SMS_SRS_REPORTING_POINT
4/7/2013 7:30:43 AM 4012 (0x0FAC)
Reporting Services URL from Registry [http://ushtsawphxp015:8080/ReportServer/ReportService2005.asmx]
SMS_SRS_REPORTING_POINT 4/7/2013 7:30:43 AM
4012 (0x0FAC)
The request failed with HTTP status 401: Unauthorized.
SMS_SRS_REPORTING_POINT 4/7/2013 7:30:43 AM
4012 (0x0FAC)
(!) SRS not detected as running SMS_SRS_REPORTING_POINT
4/7/2013 7:30:43 AM 4012 (0x0FAC)
Failures reported during periodic health check by the SRS Server USHTSAWPHXP015.PHXCORP.COM.
SMS_SRS_REPORTING_POINT 4/7/2013 7:30:43 AM
4012 (0x0FAC)
Waiting for changes for 1 minutes SMS_SRS_REPORTING_POINT
4/7/2013 7:30:43 AM 4012 (0x0FAC)
Timed Out... SMS_SRS_REPORTING_POINT
4/7/2013 7:31:43 AM 4012 (0x0FAC)
Reporting Services URL from Registry [http://ushtsawphxp015:8080/ReportServer/ReportService2005.asmx]
SMS_SRS_REPORTING_POINT 4/7/2013 7:31:43 AM
4012 (0x0FAC)
The request failed with HTTP status 401: Unauthorized.
SMS_SRS_REPORTING_POINT 4/7/2013 7:31:43 AM
4012 (0x0FAC)
(!) SRS not detected as running SMS_SRS_REPORTING_POINT
4/7/2013 7:31:43 AM 4012 (0x0FAC)
Failures reported during periodic health check by the SRS Server USHTSAWPHXP015.PHXCORP.COM.
SMS_SRS_REPORTING_POINT 4/7/2013 7:31:43 AM
4012 (0x0FAC)
Waiting for changes for 1 minutes SMS_SRS_REPORTING_POINT
4/7/2013 7:31:43 AM 4012 (0x0FAC)
Timed Out... SMS_SRS_REPORTING_POINT
4/7/2013 7:32:43 AM 4012 (0x0FAC)
Reporting Services URL from Registry [http://ushtsawphxp015:8080/ReportServer/ReportService2005.asmx]
SMS_SRS_REPORTING_POINT 4/7/2013 7:32:43 AM
4012 (0x0FAC)
The request failed with HTTP status 401: Unauthorized.
SMS_SRS_REPORTING_POINT 4/7/2013 7:32:43 AM
4012 (0x0FAC)
(!) SRS not detected as running SMS_SRS_REPORTING_POINT
4/7/2013 7:32:43 AM 4012 (0x0FAC)
Failures reported during periodic health check by the SRS Server USHTSAWPHXP015.PHXCORP.COM.
SMS_SRS_REPORTING_POINT 4/7/2013 7:32:43 AM
4012 (0x0FAC)
Waiting for changes for 1 minutes SMS_SRS_REPORTING_POINT
4/7/2013 7:32:43 AM 4012 (0x0FAC)
Murali Krishna V.S
Maybe you are looking for
-
I want to sync my Voice Memos but iTunes 10.5 will not let me even with the "include voice memos" checkbox selected. As well Ive deselected all the music in itunes so when I sync there will be none on my phone but itunes also ignores this request and
-
I am getting the error message, "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft SQL Server)". I am attaching the stored procedure. Can anyone see where the syntax may be ca
-
Name the BADI for login links in shopping cart templates
Hi, Please mention, the name of BADI that is used for Login Links ( with logon texts) that present in the email templates of shopping cart approval. regards, George.
-
Oracle XE:What happens would be occur when user data excess 4GB?
cannot insert or create anything ? or other? is it will get back to normal if i delete some data ?
-
Hello, I had a thread without answers. Now I want change the forum from "CRM Master Data" to "CRM Webclient UI". Can I change the forum after I posted a thread? Thank you in advance! Best regards, Jasmin