SCCM2012: Can you create a Query-based "User Collection" using an IP Subnet (or IP Address range) in the Query?

The topic says it all (I hope).  I am new to 2012 and I have tried to accomplish this feat all day, which includes researching online, but I have had zero success in finding anything helpful.
Obviously I can create "Device Collections" based on the IP Subnets, and I can do a "Direct Rule" in "User Collections" for the desired IP Subnet, but I do not want to do this because I need the results to update if/when
any changes occur during a "scheduled/incremental update".
The only thing I could find for the "User Collections" was this:
select *  from  SMS_R_User where SMS_R_User.FullUserName = SMS_R_User.UserName and SMS_R_System.IPAddresses like "111.11.1%"
EXAMPLE (Query for Devices):
select *  from  SMS_R_System where SMS_R_System.IPAddresses like "111.11.1%"
Is there a way to Query SCCM (2012) and display the Usernames of computers that login to the (sole) Domain through a specified (or desired) IP Subnet?

Why do you want to install software by location for a user? Why do you care?
Why would you want to create a collected of Users with software installed? PCs have the SW install not users so how would you use it?
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
I was asked to setup these (Device and User Collections) in this manner so we can limit future distributions/deployments of Applications (and/or Packages) and (OS) Images by these groupings.  Apparently there will be occasions where deployments will need
to be segmented as such because the company wants to have them grouped in this manner.  If there is a better option available than this, which I would not doubt since I am new to SCCM 2012, then I would appreciate the information.
IMO, you need to go back to the person asking and get and better understand of exactly what they want and more importantly why.  Making a collection, just in case doesn't make sense.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:

Similar Messages

  • Can you create apps after 1st May 2015 using Adobe DPS single edition?

    Can you create apps after 1st May 2015 using Adobe DPS single edition?
    I currently have SE via creatieve cloud - one of the only reasons we switched to CC was for the DPS SE.
    Does anyone know if this capability will just be 'switched off' at midnight 1st May 2015?? There are huge costs for going the enterprise route but with no date in sight for Publish to be launched I am not sure I can wait for this, or should I???

    Adobe states: Please note that the Digital Publishing Suite, Single Edition, service will be available for use until May 1, 2015, but beyond that date the service will no longer be available.
    So essentially my licence will expire on 1st May - Adobe's note just mentions 'service' -  even though part of CC and I will not be able to maintain my app or create any more IPA's after 1st May. I can't beleive there is nothing to switch over to other than paying thousands of pounds for enterprise??
    Just all so vauge, feels like a plug is going to be pulled and thats it??? Maybe I am missing something?

  • Can you create a group of users in Messenger

    Currently the last post of information in reference to my question shows as follows:
    there is not a way to create a group. From the client side, you can
    create folders and organize users that way. From the server side, you
    can add an eDir group object to the contact list but it will
    automatically be broken out by user rather than just adding the group
    If you are interested in a group in Messenger so that you can chat with
    more than one person at a time, currently you can do that by inviting
    users to her chat, or by highlighting multiple users and then clicking
    on Send Message. That will automatically invite everyone to the chat.
    I will submit an enhancement request.
    Has Novell or anyone released a way to do this as of yet or a new version that has this enhancement, this post was back in 2005 so I don't know if it was ever done and I have searched for it in the Novell Documentation, maybe I missed it..

    In article <[email protected]>, Pbolin260 wrote:
    > Has Novell or anyone released a way to do this as of yet or a new
    > version that has this enhancement, this post was back in 2005 so I don't
    > know if it was ever done and I have searched for it in the Novell
    > Documentation, maybe I missed it..
    I've not heard of that capability. The enhancement request is a good
    idea. Would be nice to be able to make folders of groups of users too.
    Craig Johnson
    Novell Support Connection SysOp

  • How can you create an instance of a class using ClassLoader given only

    the class name as a String. I have the code below in the try block.
    Class myTest = this.getClass().getClassLoader().loadClass("Testclass");
    Object obj = myTest.newInstance();
    String className = obj.getClass().getName();I don't want to typecast the class like
    Testclass obj = (TestClass) myTest.newInstance();I want to be able to create the classs at runtime and then get the methods in the class and execute those methods. Can it be done without having to code the typecasting in before compile time?

    I read on the web of people creating objects from interfacesDoesn't sound like the thing to do... Theoretically you could create dummy classes on the fly that implement some interface, but that's not very useful.
    Sounds like you are trying to load classes and execute them via interfaces. Like this:
         Class clazz = Class.forName("java.util.LinkedList");
         Collection c = (Collection) clazz.newInstance();
         System.out.println(Arrays.toString(c.toArray()));LinkedList is the class, Collection is the interface which LinkedList implements. You can then call the methods declared in the interface. The interface gets "compiled in" into the program and the classes that implement it get loaded whenever and from wherever you load them.
    You could also use reflection to call methods without an interface, but that is type-unsafe, inelegant, hackish, and just plain ugly.

  • Can you create a Adobe DPS app that use Web Services

    I'm looking to create a DPS app that uses web services to pass data to and from a web server when the user has an internet connection, but when the user is offline stores data locally until an internet connection is established and then passes the locally stored data to the web server. Is this possible with DPS/

    It's challenging but it's possible. Hint: local storage.

  • Can you transfer files between two user accounts on the same macbook pro?

    Can you transfer files between two user accounts on the same MacBook Pro?
    Specifically, I used the Migration Assistant to move music and photos from my old PC to my new MacBook. 
    Somehow, I missed the fact that it was creating a new user account when it was doing this.  So none of music and photos are in the user account I originally set-up.  Instead, all these files are now in a different account.
    I'd like to consolidate all my files on the one user account and delete the other one.
    Is this possible and, if so, how do I do it?
    Thank you.

    you can crop files from one account to another using the Public Dropbox which every user account has.  Log into the user that has the files you want to move, then drag the folder you want to the new users' dropbox:
    I suggest a small scale test on a few files first before moving gigabytes of files.

  • How can I create a form for users wherein the text field will expand to accommodate additional text?

    How can I create a form for users wherein the text field will expand to accommodate additional text?

    You need to use LiveCycle (PC Only) to create a dynamic form like that.
    The best you can do with Acrobat to view all of the text in a field is to set the field to multiline, and set the size to "Auto" (If you don't set the size to 'Auto', you can enter as much text as you wish, but the user will need to use the scrollbar to view all of the text.)

  • Can I create a table called user

    Dear buddies,
    Can I create a table called user in my database.
    Please guide me.
    Thanks in advance.

    user645399 wrote:
    I was required to create one for some reasons by a vendor so that Oracle will work with their tool.
    This tells you more about the vendor than the vendor would like you to know ......
    Like the vendor that told me their product would work with an oracle database, but they preferred SQL Server because "oracle doesn't perform will with more than 5 concurrent connections". Fortunately we were still in product evaluation and I was able to get them cut from the short list.
    After seeing all your replies, now, I have contacted them asking for alternatives and explanations.
    Anyway, Thank You to everyone of you.

  • Can you create cd sleeves in Photoshop Elements please?

    Can you create cd sleeves in Photoshop Elements please?
    Or is there a software that can create cd sleeves, using a template perhaps?
    I can print my own cd inserts (jewel box) but want to create a card cd sleeve.
    Many thanks,

    Thanks all - this has been a real eye-opener. There are companies out there who will design & print cd sleeves for you so the tech is obviously there somewhere, but apparently not for home users.
    Never mind.
    In Adobe Elements 8 I can crop or size my own art work how I want it then set the Win7 default printer programme to print say 4 identical images to A4 which when divided up will fit a typical cd sleeve. If i pop adhesive paper into the inkjet i can then stick my cd art work onto the card sleeves. I will buy these but you could make them. So there is a way round this one, it just takes a bit of head scratching?

  • How can I create aform allowing a user to add an image in it?

    How can I create aform allowing a user to add an image in it?

    select * from dba_streams_rename_schemaWhat do you have there?

  • Can you create an index on a Map?

    I have a few questions that I can't seem to figure out nor find a viable example for. Can you create an index for a Map contained within a nested object, and if so, how would you do this? I currently have a Filter the inspects this criteria in the cache but am unable to figure out to create a usabe index for the custom filter. I'm using Coherence 3.5.2 - any help would be most appreciated. I'm not sure if/what I need to do with the SimpleMapIndex....
    Here's the basic object map below. My filter is retrieving all of the CustomerGroup objects that have a Customer in it's collection that contains the passed in Integer value in the Customer's Map. So can you create an Index on a Map (and a nested one at that) and how do you that? The index would need to be on the nested customerValues hashmap.
    class CustomerGroup
        Set<Customer> customers ;
    class Customer
        Map<Integer, CustumerValue> customerValues;

    If you write a custom ValueExtractor, which you need to create an index, then you will not need a custom Filter.
    Depending on how efficient you need to be you custom extractor can use POF and not have to deserialize the entries to create the index, or it can deserialize the class, which will make the code more straight forward.
    For example, without using POF
    public class MapKeyExtractor extends EntryExtractor implements PortableObject {
        public MapKeyExtractor() {
        public Object extractFromEntry(Map.Entry entry) {
            Set<Integer> keys = new HashSet<Integer>();
            CustomerGroup group = (CustomerGroup) entry.getValue();
            Set<Customer> customers = group.getCustomers();
            for (Customer customer : customers) {
            return keys;
        public boolean equals(Object obj) {
            return (obj instanceof MapKeyExtractor);
        public int hashCode() {
            return MapKeyExtractor.class.hashCode();
        public void readExternal(PofReader in) throws IOException {
        public void writeExternal(PofWriter out) throws IOException {
    }The extractor above will return a collection of all of the Integer values in the keys of all the customerValues of all the customers in a CustomerGroup (I have guessed you might have accessor methods on the classes you posted).
    You can then use a ContainsFilter for your query. For example to get all the values from the cache where the customerValues map contains a 19 in the key...
    Set results = cache.entrySet(new ContainsFilter(new MapKeyExtractor(), 19));You could write a version of the MapKeyExtractor that uses POF and would not deserialize the values but this would be more complicated code as it would need to extract the Map from the POF stream of the value and walk down the keys and values extracting the keys. It is doable but not worth it unless you are really worried about performance of index updates.
    Discalimer I have written the code above from the top of my head so have not compiled it or tested it but it should be OK.

  • Can you create a site map with Dreamweaver?

    Can you create a site map with Dreamweaver?
    Crawkers do not work because many of my pages are not linked.

    I'm not too sure what Crawkers is, but I do not think DW has that capability out of the box.  There are some web based solutions that will scan you site for you and give you a map for search engines.  I choose to go with a commercial option which is pretty good from WebAssist, it's called Surveyor: .

  • How many server nodes can you create per instance

    Very often the bottle neck in a java installation (NW04s) is the heap size. In order to increase the heap you simple create new server nodes.
    My question is:
    How many server nodes can you create per instance?
    Is there an upper limit before you have to create a new dialog instance (with a web dispatcher)?
    I can imagine that when you create a new server node you also have to increase the heap and max therad of the dispatcher. Is there any upper limit of the heap size of the dispatcher node ?

    Rasmus , I think you laid out a real good scenario for every one to contribute
    I may be very late but just updating this forum for benefit of everyone who visits this.
    In addition to all the points above one must also consider following things if one decides to add more server nodes to one dispatcher
    1.Garbage collection time
    2.Dispatcher would keep on sending request to node S2 if it is not completely bad and there by impacting all the servernode       so  you might end up restartiing the entire cluster.
    3,Debugging also becomes diffculy as you are not sure on which server node you are within the cluster.
    4.If you have something like F5 which does hear beat monitoring even one server node goes bad F5 will not report anything.
    So in my view one server node per dispatcher is an ideal configuration.
    Over All Dispatcher does not consume more resouces (Disk Space + CPU + memory ) at the same time it will give you maintenance flexibility.
    Nothing is right or wrong ,all these things are based on how your infrastructure set up is.
    Cheers !!
    Manish Jain

  • Using home sharing, can you sync libraries between multiple users in a household?

    Using home sharing, can you sync libraries between multiple users in a household?

    Hey lindsay146,
    Home Sharing lets you to stream or transfer music, movies, and more with up to five authorized computers in your household. You can learn more about it in this link:
    Understanding Home Sharing
    Welcome to Apple Support Communities!
    All the best,

  • Can you creat an apple id through the computer?

    Can you create an apple id through the computer?


Maybe you are looking for

  • Can I launch a Macro from an IF statement in a Bus. Rule?

    I am trying to write IF logic in a business rule to run a macro based on a Planning form-driven variable. However, my rule will not validate. For example: IF([variable] == 'Budget') %MYBUDGETMACRO(parm1, parm2, parm3); ELSE %MYOTHERMACRO (parm1, parm

  • I am trying to setup kvm. Am I on the right track?

    I am trying to  set up kvm and am a bit confused (probably by old information) lscpu Virtualization: AMD-V L1d cache: 16K L1i cache: 64K L2 cache: 2048K L3 cache: 8192K NUMA node0 CPU(s): 0-5 grep -E "(vmx|svm|0xc0f)" --color=always /proc/cpuinfo Wor

  • Module & Image Mgr. not working

    Below are the instructions for inserting a photo from the gallery. I have done it many times before. there is No image editor but a image manager - I did upload the images from my computer but it has no buttons to close it down, I have to refresh to

  • Microsoft bluetooth mouse 5000

    Has anyone tried this mouse on the Macbook Pro? I'm wondering how it compares with other mice and looking for a portable yet functional solution. I need something that allows 3 button functionality for use with Autodesk Maya but also works well with


    Hi there, I have an "java.awt.Image" object with me. I am trying to create a file by using this "Image" object. Please help me by showing some code or by giving some tip. thanks in advance sudhakar