SCCM 2012 RS QUERY RULE OPTIONS

How do i create a device collection query in SCCM2012 R2 wizard rule to find properties information for server object in Active Directory, such as query for description field?
Example:

You must first enable the discovery of this field in "Active Directory System Discovery". See the "Active Directory Attributes" tab.
(Administration / Hierarchy Configuration / Discovery Methods)
Once enable, run a synchronization on this component by right clicking on it.
After the discovery you'll be able to query the "Description" field under "System Resources".
Or use this WQL query
"select * from SMS_R_System where SMS_R_System.description = "Your Description Goes Here"
Benoit Lecours | Blog: System Center Dudes

Similar Messages

  • SCCM 2012 Collection Query

    Hi All,
    I am using SCCM 2012 SP1 with SQL 2008 R2 SP1. I have scenario as below.
    App A is targeted to user based collection as Available (Optional).
    App B needs to be targeted to users who has successfully installed App A as Required(Mandatory).
    Note : As per application behaviour we cannot target App B to machine(Device) based collection, otherwise I would have created a query to pull out all the machines in a collection where App A is successfully installed on base of Add/Remove
    program display name.
    Question : I want to create a user collection query which will pullout last logged on user for all the machines where
    App A is installed successfully, so that I can target App B to this user based collection as Required(Mandatory). In this way if in future any other user is installing App A then that user will also get pulled out automatically to this user
    based collection.
    Its bit urgent for me. Request you please help me to get this query or let me know if there is any other way to achieve this.
    Thanks & Regards Uttam

    Hi Torsten,
    I really have not thought about supersedence but App B is not the upgrade or replacement for App A. If it would then we would have defined the relationship in supersedence. But App A and App B are entirely different applications. Functionality of App B depends
    upon App A, so both has to be there on the machine.
    Only the thing is App B should go to the users who has already installed App A on their machines. For this I would like to create user based collection but confused regarding query. How can we achieve this? I am thinking of to modify the below query
    to pull out last logged on user from the below collection query. I am using SCCM 2012 SP1 with SQL 2008 R2 SP1. How can I modify the below query?
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where ResourceId in  (select ResourceId from SMS_G_System_ADD_REMOVE_PROGRAMS
    where DisplayName="App A ARP name" and Version = "1.0.0")
    Thanks & Regards Uttam

  • SCCM 2012 - Export Query Results

    Hi guys, I have a query under "Monitoring" - "Overview" - "Queries" and have my results in the result pane however I want to print the report or export to a CSV file. I cant see an easy way to do this? Surely we dont have to create the query then
    create a report just so we can export or print the report? Information is on my screen and is exactly what I want but no obvious easy way to get this in a format that is usable
    I only see the export MOF option available
    Thanks
    Nick

    I know this is an old post but I see Garth replied a couple days ago - on this same theme I have just upgraded to Office 2013 and the cut and paste from Queries and Collections from SCCM 2012 (which worked fine in Office 2010) seems to now not
    work with my Excel 2013 - you do mention it works for you in your post.  The results I see that I have 4 columns in my results it just pastes them into 1 cell - it doesn't break up the columns.  I have tried pasting to notepad first then to Excel
    - doesn't work - also tried Paste - Special - Unicode Text or Text and still it all goes into one cell. Is there something I have to change with either SCCM or Excel to get this to work again?
    Let me know if you have run into this with Excel 2013....thanks
    Kevin
    I am seeing the same issue.  Win 7/Office 2013 fully patched.
    Edit: Got it to work by pasting into Notepad, saving as .txt and opening that file with Excel.

  • Windows 8.1 Mobile Device Management and SCCM 2012 R2 - 'Turn on' option missing

    I am trying to test a virtual desktop with SCCM 2012 R2 integrated with Intune. There is no Configuration Manager client on the workstation, the Intune subscription is configured and enabled for Windows enrolment, AD is synchronizing with Intune, DNS has
    the enrolment record added and resolves, the user can logon to Intune from the client using Internet Explorer and the client has had the registry key added with the DiscoveryService  configured to manage.microsoft.com. The problem is that on
    the 8.1 workstation in Workplace Settings the only option is 'Join' and the 'Turn-on' option is missing. How do I get it to appear?

    Yes I am using an activated version of 8.1 Enterprise, it is in a workgroup and I am logged in as a member of the local Administrator's group but not Administrator. I even joined the domain again and then removed it. Still there is only the 'Join'
    option and no 'Turn on' option. This is driving me nuts.

  • SCCM 2012 R2 Query

    Good morning everyone,
    I'm wanting to build a query collection to find all of the PC's in SCCM 2012 R2 that don't have the SCCM client installed on them. How would I go about doing that?
    Thanks,
    Dreday38

    Query
    select SMS_R_System.Active, SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.Client from  SMS_R_System where SMS_R_System.Client is null  order
    by SMS_R_System.Active
    Built in Report
    Monitoring > Overview > Client Status > Client Check
    Regards,

  • SCCM 2012 License query

    Hi,
    I need a SCCM 2012 report where it gives the following details
    OS, Vendor, Total License, Used License, Free License.
    To fetch the above details do we need to import and configure the software licenses.
    Thanks
    Sunny

    Suppose if i enabled and configured the above parameters as said by you then on which tables\views we can fetch these details (OS, Vendor, Total License, Used License, Free License.)
    Once you import the license statement , look at the built-in AI reports. if they don't give you what you want then you will need to create a custom report.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Sccm 2012 collection query for software deployment failed PCs

    Hi,
    Let me know how can we create a collection of PCs which a particular advertisement failed.
    SCCM 2012 sp1 infra
    Midhun.PS

    See
    http://myitforum.com/cs2/blogs/gramsey/archive/2006/10/20/How-To_3A00_-Create-a-Collection-Based-on-an-Advertisement-Status.aspx. This will only work for program deployments, not applications.
    Torsten Meringer | http://www.mssccmfaq.de

  • SCCM 2012 R2 - query based Collection based on missing update

    Hi,
    I was wondering if anyone knew what attribute to use in console to create query based collection for missing patches? I viewed the entire list of attributes available in console but I cannot seem to find anything that says "Windows Updates" or
    something similar.
    thanks

    You might also consider creating a saved search with all updates that are deployed but still required.
    Kent Agerlund | My blogs: blog.coretech.dk and
    SCUG.DK | Twitter: @Agerlund | Linkedin:
    Kent Agerlund | Author:
    Mastering System Center 2012 R2 Configuration Manager

  • SCCM 2012 Collection Query Timings

    I am just wondering about the logistics of the timings. I have most collections updating on 15 minute intervals, all of them on the same clock using Midnight and every 15 minutes after that. This is the basic setup I am using too, All Systems -> SCCM
    Agents -> Software Deployment or other Collections.
    Is the 15 minutes per collection additive, or hit and miss? For instance I load a new computer, it goes into All Systems, then at the 15 minute point moves into SCCM Agents. Will it propagate into the Software Deployment at or around the same time or would
    it likely be in the next window of queries?

    Why wouldn't you use the delta discovery? Update all collection every 15 minutes is a huge hit to your CM12 server.
    http://www.enhansoft.com/

  • SCCM 2012 Uninstall Query devices remove software

    I'm trying
    to remove the software from any devices that are not in the ad collection. <o:p></o:p>
    The
    deployment to uninstall the software has been created however I’m unsure on how
    the query should read as it is targeting devices. Or what attributes I need to select to get this to work. <o:p></o:p>

    For query AD group and create collection you can use -
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.SecurityGroupName = "DOMAIN\\AD Group Name"
    So , first create a subselect using the above to identify computers which are not part of the AD group and then to check if software is installed you can use -
    select SMS_R_System.Name from  SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = "APPLICATIONNAME IN ADD REMOVE PROGRAM"
    Or simply create one collection to detect where software is installed using second query (detect installed software) and then exclude a collection built using first query (AD group membership). Then deploy uninstall of application on it.

  • SCCM 2012 R2 Query for Cert's

    Hi,
    Is it possible to create a query to find the expiration dates of certificates on a collection of servers? 
    Thxs

    This isn't anything collected by default so you'll have to come up with a script to do this and either using compliance settings or hardware inventory to collect the information from which you then can create the report. This older post should get you
    started:
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/44e2be21-b0f5-45d0-ad57-1f9fb1e68993/report-certificates-that-are-expired?forum=configmgrinventory
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • What are the Query criterion property attributes to search for KB's in SCCM 2012

    A client is ask what servers might have a particular hotfix(ex: KB2798040) installed. The Hotifx is not in our WSUS catalog because it is not a critical security patch so it is not downloaded. What is the SCCM 2012 R2 Query criterion property attributes
    to find a particular KB?

    Depending on the OS of the client, that information may not be collected by default.
    Rather than collecting all of the HotfixID class, instead, consider using DCM for this single HotfixID.
    Sherry has previously posted about ways to do this,
    http://myitforum.com/cs2/blogs/skissinger/archive/2011/08/17/non-security-hotfix-detection-for-windows-7-2008.aspx
    and here's a post by Nick which seems to be based on the very same approach:
    http://t3chn1ck.wordpress.com/2010/10/20/sccm-dcm-inventory-for-installed-windows-hotfixes/
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • SCCM 2012 R2: Forefront Endpoint protection via automatic updates only work when manually triggering automatic updat rule

    Hi,
    I followed this manual to configure forefront endpoint protection on clients: http://www.windows-noob.com/forums/index.php?/topic/6106-using-system-center-2012-configuration-manager-part-6-adding-the-endpoint-protection-role-configure-alerts-and-custom-antimalware-policies/
    Now in short: everything works fine ... as long as I trigger the audomatic deployment rules.
    Current situation:
    1. ADR ran fine (3:30 this night)
    2.Software update group is NOT ok
    3.I run ADR manually (right click on ADR, run)
    4.software update group is ok (green icon)
    Then virusupdates are succesfull. This means that clients only update their virus definitions when I manually run the ADR-rule.
    I'm missing something here.
    Please advise.
    J.
    Jan Hoedt

    Probably this issue: http://social.technet.microsoft.com/Forums/en-US/c6109678-785b-4c6d-9cb4-c9dfc1e34b2e/sccm-2012-automatic-deployment-rule-not-executing-updates-for-scep?forum=configmanagerapps
    Iow: wsus updates were scheduled at 3, automatic update rules at 3:15, probably sync wasn't done yet so it doesn't find updates. "The day after" updates are marked as expired.
    Jan Hoedt

  • SCCM 2012 Console very Slow

    Hello I'm Facing Performance issue with SCCM 2012 Console , all Rules and SQL Db on Same Physical Server with the following Specs:
    24 Cores and 28 GB of Memory.
    thanks
    Ahmed Ali

    Can you provide a few more details. What else do you have running on the server (other apps, site system roles, synchronization processes, number of clients etc). Do you have any I/O issues, processor issues, memory leaks etc
    Kent Agerlund | My blogs: blog.coretech.dk/kea and
    SCUG.dk/ | Twitter:
    @Agerlund | Linkedin: Kent Agerlund |
    Mastering ConfigMgr 2012 The Fundamentals

  • SCCM 2012 and collection settings

    Hi all,
    I am migrating SCCM 2007 to SCCM 2012 SP1 CU3.
    All my 1200 collections are migrated to SCCM 2012 and the incremental option is enabled on most of my collections (about 1100).
    Now I found out that my collections are updating very very slow.....
    I read an article that best practice is to enable a maximum of 200 collections with the incremental option.
    So i ran a powershell script to disable this option on my collections....
    Now it seems that collection updates are faster again...
    Do I need to disable the incremental option on all collections and enable the schedule full update eg. very 30 minutes ?
    I hope someone could share his experience with this....

    I ran this test this weekend since it has been a while since I have do this. Short version, yes I’m getting confused between CM07 and CM12. CM07 this work perfectly for User and PCs. In CM12 this only work perfectly for Users. If you want
    to make this work for PC you need to do the following.
    PC
    Add the PC to the Security Group.
    Wait of the Security group to replicate to the PC’s local DCS.
    Reboot the PCs
    Wait for the Discovery Data(DD)  collection Cycle to occur, (default is every 7 days), However I recommend making this daily and in some cases hourly.
    Once the DD data is in the CM12 db. You need to wait for the Collection to update (default is every 7 days)
    Then you need to wait for the PC to retrieve it’s Machine policies. (~1 hour)
    User:
    Add the User to the Security Group.
    Wait of the Security group to replicate to the PC’s local DCS.
    Logon to the PC. With newer OS , just unlocking the PC will
     do the trick.
    Then you need to wait for the User Polices to retrieved.(~1 hour)
    http://www.enhansoft.com/

Maybe you are looking for

  • Generating a internal table based on the fieldcatalog

    hi, i want to generate an internal table based on field catalog which will be generated after the user has selected a particular layout. For eg. Suppose there are at present 25 fields at the ALV output and out of which user selects 10 fields using la

  • Can't see picture files or Application icons in Finder?

    I transferred a lot of files from my Windows 7 PC to my new iMac, and saw all of the thumbs.db files. So I used Spotlight search to find them all, then I deleted them all and cleared out my trash. Now no picture files or Application icons show up on

  • Help with submitting form

    Can anyone please tell me why the 'Name' part of the form on this page doesnt show in the email that i recieve when a visitor submits the form. www.milesmemorials.com/request.html the php file for this form is: <?php if(!isset($_POST['submit']))     

  • Flash CS 5.5 code hinting

    Hi all ! Hope someone can help me! I just got Flash CS 5.5 on my Mac and code hinting is not working at all... I tried many of the suggestions in the different threads concerning this problem to no avail... It just is broken! Used to work quite well

  • How to uninstall google drive off macbook pro

    Cant seem to figure it out. Dragging the app to the trash can doesnt work...