SSCM 2012 R2 IP Subnet based Device Collection

HI,
I have to create a IP Subnet based Device Collection , are we have to install the ccm clients on all machines first to create the IP subnet based Device Collection??
Can you please share the step by step docs to create the IP Subnet based device collection in SCCM 2012 R2?
Shailendra Dev

Hello, As has already been mentioned this will require the SCCM client to be installed on the workstations to pick up the IP address and may require a Hardware Inventory cycle to have been ran (not 100% certain of the HW Inv requirement, give it a try without
and see!).
Create the collection as you would normally.
right click the collection and select properties. Click into the membership rules tab
select add rule > query rule
Type a name "IP Subnets" and then click "Edit query statement"
Click "Show Query language at the bottom and enter the below query making changes to the IP address.
    select *  from  SMS_R_System where SMS_R_System.IPSubnets like "172.16.5%"
Update the collection membership. Job done.
I am not sure how whether this information will remain bang up to date e.g. if a machine moves subnets it may not instantaneously update the data in the database regarding IP subnets.

Similar Messages

  • Multiple IP Subnet Based Device collection

    Hi ,
    I have created Single IP Subnet based device Collection as below WQL.. and its working with
    is like Operator and Value as 192.168.11.0
    can you please suggest what would be the value if i have to create the Device collection upon 2 Subnets  of 192.168.11.0 and 192.168.12.0
    Currently i am able to enter only one IP Subnet in value txt box..
    Shailendra Dev

    You've got to use is like because the field you're checking on contains an array. In your new scenario use
    192.168.1% to cover both subnets, but do keep in mind that it will also include all other subnets that start like that. In case you only want those two subnets simply create two separate membership rules.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • OU based Device Collection Membership not updated frequently

    Hi,
    I have create  one OU based device Collection and  checked Used incremental updates for this collection  under Membership rules but whenever any Computer object moved form this OU to another OU than such Device is not removed
    from same OU based Device Collection... the Collection membership change is not happening properly even after i did update membership of that OU based device collection..
    My requirement is whenever any Computer object added or removed in/from any OU in AD than  the membership of corresponding OU based device collection should up updated within 5-10 minutes  how i can do this .
    To achieve this I done below configuration but its membership of the collection not updated... please guide..
    Shailendra Dev

    To add to Jorgen, note, there is going to be more to it than just AD discovery.
    What exactly does your query look like?
    Exactly how often is both your Hardware inventory and Heartbeat discovery set to? Do you have SW inventory enabled?
    Just to get thing out there IMO the requirement updated within 5-10 minutes is nuts.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Device Collections vs Reports

    Fairly new user to System Center 2012 here, so still trying to learn the ins and outs.
    Last Thursday, we deployed new software to every PC in our environment.  The deployment uninstalled the old application and installed the new one.  The job itself was a success (not bad for my first one!).
    Anyhow, I had built a SQL based device collection for each application so that I could monitor how many PCs have each application.  Essentially, I wanted to watch one grow while the other declined.
    I also built a report for each application based on what Add/Remove Programs is reporting so that I could have something to export to Excel to provide updates to management.  We run software scans daily on all of our PCs and 90% physically remain
    on the network all hours of the day.
    My question is:  Why is the device collection showing so many more computers having the new software than the report is?  I would think they would both always report the same number.  For example, the device collection shows 2021 members with
    the new application, however the report shows 1565.  The report makes it appear as though the deployment was a failure, but the device collection says otherwise.  Today is day 5 so I just find it odd that it's taking so long for the report to catch
    up.  Maybe I've missed a setting to configure the clients to run an inventory scan daily?
    Administration - Client Settings - Software Inventory - Occurs every 1 day effective mm/dd/yyyy 10:00AM.

    Yep hardware inventory is the one you want.
    Do you really need a software inventory every day?
    http://be.enhansoft.com/post/2013/10/03/Slow-Software-Inventory-Cycle-in-SCCM-2012.aspx
    You can also force a hardware inventory full / delta with the right click tools by now micro. it's a very good free addition.

  • 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:
    @GarthMJ
    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:
    @GarthMJ

  • Need help creating a device collection based on members of a user collection

    Hello everyone,
        I am working on developing a device collection based on the membership of a user collection. The purpose of the device collection is to provide us with the capability of deploying software to users while the users are logged off their systems.
    I would love to use AD security groups but unfortunately that isn't an available approach in this case. I have been experimenting with SQL queries to find the best way to obtain the results I want and the following query works like a champ:
    Select SYS.Name0,
    v_R_User.Unique_User_Name0
    FROM v_R_System AS SYS
    JOIN v_UserMachineRelationship ON SYS.Name0=v_UserMachineRelationship.MachineResourceName
    JOIN v_R_User ON v_UserMachineRelationship.UniqueUserName=v_R_User.Unique_User_Name0
    JOIN v_FullCollectionMembership AS FCM on FCM.ResourceID = v_R_User.ResourceID
    JOIN v_Collection AS COLMEM ON COLMEM.CollectionID = FCM.CollectionID
    Where FCM.CollectionID = 'cha0000B'
    The problem arises when I attempt this same query in SCCM 2012, I don't get any results from this query so of course it won't work to base a Device Collection from. Here is the WQL:
    Select SYS.Name,
    SMS_R_User.UniqueUserName
    FROM SMS_R_System AS SYS
    JOIN SMS_UserMachineRelationship ON SYS.Name=SMS_UserMachineRelationship.MachineResourceName
    JOIN SMS_R_User ON SMS_UserMachineRelationship.UniqueUserName=SMS_R_User.UniqueUserName
    join sms_v_FullCollectionMembership AS FCM on FCM.ResourceID = SMS_R_User.ResourceID
    join SMS_v_Collection AS COLMEM ON COLMEM.CollectionID = FCM.CollectionIDwhere FCM.CollectionID = 'cha0000B'
    I am hoping that someone will be able to look at my SQL and tell me how I can get the WQL right so I can use this query properly or provide suggestions to accomplish what I need.
    Thanks in advance for the assist,
    Chris Bolton

    Hi Torsten,
         While your suggestion of that link was close, it still went in the direction of using security groups as the basis for device queries and that isn't the direction I am pursuing. I had a colleague look at my original query and he identified
    that I had some unnecessary redundancy but that didn't resolve my SQL -> WQL inconsistency. I continued to play with the query and the following SQL also works (and actually works a bit better for my purposes)
    select distinct v_R_System.Name0,
    v_R_User.Unique_User_Name0
    FROM v_R_System
    JOIN v_R_User on v_R_User.Full_User_Name0 = v_R_System.User_Name0
    JOIN v_UserMachineRelationship ON v_R_System.Name0 = v_UserMachineRelationship.MachineResourceName
    JOIN v_FullCollectionMembership on v_R_User.Unique_User_Name0 = v_FullCollectionMembership.SMSID
    WHERE v_FullCollectionMembership.CollectionID = 'cha0000b'
    however when I translate it to WQL I still am unable to get results (here is the WQL version)
    select distinct sms_R_system.Name,
    sms_R_User.UniqueUserName
    FROM sms_R_system
    JOIN SMS_R_User on SMS_R_User.FullUserName = SMS_R_System.UserName
    JOIN SMS_UserMachineRelationship ON SMS_R_System.Name = SMS_UserMachineRelationship.MachineResourceName
    JOIN SMS_FullCollectionMembership on SMS_R_User.UniqueUserName = SMS_FullCollectionMembership.SMSID
    WHERE SMS_FullCollectionMembership.CollectionID = 'cha0000b'
    I think I am on the verge of getting this right but it sure seems to be a challenge. Is there a "WQL Workbench" that I could use that is similar to SQL Management Studio inside of which I could test these queries rather than having to use the rather clunky
    SCCM "Edit Query Statement" dialog box?
    Thanks again,
    Chris Bolton

  • Windows 8.1 laptop computer not showing in SCCM 2012 devices collection

    Hi,
    I am trying to do a POC on license management from  SCCM 2012. I have configures a SCCM 2012 server and intune subscription also. I have Android, iOS and desktop apps uploaded (.msi). when I enrolled android and ios devices its shows up in SCCM,
    devices collection but do not show in Intune.
    my company portal is nicely coming up on android and iOS tabs. on the other hand company portal showing only Web apps, on a win8.1/7 laptop.
    When I tried to enroll 2 windows 8.1/ 7 laptop (intel x86), they donot show up in SCCM. clients of intune manually installed, endpoint protection of SCCM installed also on both boxes.
    I tried updating membership in SCCM for both know and unknown type, many time and also triggered Deployment of some desktop app, to the win 8.1 laptops. the desktops are showing in Intune All devices -> all computers nicely. But
    not in SCCM2012.
    what did I missed, I tried to add all the logical roles. below is some details what shows up in Intune:
    indranil

    If you installed the Intune agents on the Win 8.1 and Win 7 systems, then they will never show up in ConfigMgr.
    There are basically two parts of Intune -- a Mobile Device Management piece and a Windows management piece. The Intune connector in ConfigMgr takes over the MDM piece and nothing more. When ConfigMgr takes over this MDM piece, as Torsten said, all MDM devices
    enrolled show up in ConfigMgr and not Intune because that's now controlled by ConfigMgr. The Windows management piece remains unchanged and separate though and so those systems will be directly managed by Intune only or ConfigMgr only.
    So you have three options there:
    - Install the ConfigMgr agent and managed using COnfigMgr
    - Install the Intune agent and manage using Intune
    - Enroll the systems using OMA-DM which manages them as if they were devices. This means so you don't get SCEP or Windows Updates or most of the other ConfigMgr functionality. This is only valid for Win 8.1 though.
    Jason | http://blog.configmgrftw.com

  • Adding servers in to device collection in sccm 2012

    When I add a set of servers in to device collection some times some of the servers are failed to add in the collection. Is there any solution for adding the previously failed server again to the device collection successfully?

    Right click on collection and go to properties check whether added server is listed there or not? If no try to add the device manually by clicking yellow * button - put in server name ...next next and next very straight forward process.
    The first thing you need to do id update the collection after adding the server then only it may reflect. 
    What you meant by server get failed to add? Is there any particular error?
    Anoop C Nair (My Blog www.AnoopCNair.com)
    - Twitter @anoopmannur -
    FaceBook Forum For SCCM

  • Stagger application deployment to device collection

    Hi,
    I've created a device collection using a query that has list of machines with a specific application installed.
    I have an updated version of that application that I'd like to deploy to that collection.
    I'd like to stagger the deployment so that the update takes place on few computers each day or so. For example, every night update the application on 10 machines.
    Can this be done? I'm using SCCM 2012 SP1.
    Pman
    http://www.pmansLab.com/

    There's no direct way to do this.
    One way to accomplish this though is to create a set of sub-collections that are limited to your main collection. You would then create new deployments with different deadlines for each of these "sub-"collections. The membership of these sub-collections
    could then be done using a query based rule that looks at something like the last digit/character of the system's GUID. For example, you could create seven sub-collections and the query rule for the first would only include systems where the GUID's last character
    was 1-3, the second collection would look for 4-6, the 3rd would be 7-9, ...
    If, your application deployment re-evaluation is set to everyday, then you could also do something similar using requirement rules and a little basic math.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Cannot add modify permission to Group for Device Collection

    Hi All,
    I am having trouble adding the modify permission to a device collection. I am not sure why it is not applying since the group has been granted Full Admin to the collection? Please see below:
    While the group can access the distribution point properties, all them are greyed out so they cannot make any changes.
    BTW the collection comprises of all Distribution points. Is there another permission I need to grant to the Administrative Users (group in question)

    I recommend these two articles:
    Article 1
    http://blogs.technet.com/b/configmgrteam/archive/2011/09/23/introducing-role-based-administration-in-system-center-2012-configuration-manager.aspx
    Article 2
    http://blogs.technet.com/b/hhoy/archive/2012/03/07/role-based-administration-in-system-center-2012-configuration-manager.aspx
    I hope that helps!
    Nash Pherson, Senior Systems Consultant
    Now Micro -
    My Blog Posts
    If you found a bug or want the product to work differently,
    share your feedback.
    <-- If this post was helpful, please click the up arrow or propose as answer.

  • Help me in creating a Device Collection - i have a list of machine name (in a excel or CSV file)

    Hello Guys,
    I have created a Device collection for UK region (2000+ machines)
    Now i have been given a list of 1000 machines to which i need to deploy an application.
    I have to create a device collection for this 1000+ machines. as an input i have a excel or CSV file with a list of machine names.
    Please suggest me how can i create a device collection with CSV file as input. Is my CSV file should be in particular format.
    Or is there any other way i can create a collection for this 1000 specific machines.
    Please suggest.

    My previous post was for sccm 2012.
    here its for 2007
    In the Operating System Deployment section of SCCM right click on Computer Association and choose
    Import Computer Information
    when the wizard appears select Import Computers using a file
    The file itself must contain the information we need in this (CSV) format
    COMPUTERNAME,GUID,MACADDRESS
    (sample below)
    Quote
    deployvista,3ED92460-0448-6C45-8FB8-A60002A5B52F,00:03:FF:71:7D:76
    NEWCOMP1,55555555-5555-5555-5555-555555555555,05:06:07:08:09:0A
    NEWPXE,23CA788C-AF62-6246-9923-816CFB6DD39F,00:03:FF:72:7D:76
    w2k8deploy,BFAD6FF2-A04E-6E41-9060-C6FB9EDD4C54,00:03:FF:77:7D:76
    if we look at the last line, I've marked the computer name in Red, the GUID in BLUE and the MAC address in GREEN, separate these values with commas as above.
    w2k8deploy,BFAD6FF2-A04E-6E41-9060-C6FB9EDD4C54,00:03:FF:77:7D:76
    the file can be a standard TEXT file that you create in notepad, and you can rename it to CSV for easier importing into our wizard...
    so, click on Browse and browse to where you've got your CSV file
    on the Choose Mapping screen, you can select columns and define what to do with that mapping, eg: you could tell it to ignore the GUID value (we won't however)
    on the next screen you'll see a Data Preview, and this is useful as it will highlight any errors it finds with a red exclamation mark, in the example below a typo meant that it correctly flagged the MAC address as invalid
    so edit your CSV file again and fix the error, click previous (back) and try again
    Next choose the target collection where you want these computers to end up in
    review the summary
    in SCCM collections, we can now see the computers we've just imported from File,
    Enjoy
    Nikkoscy

  • Query and Device Collection by Department

    Hi all,
      I am trying to figure out how to build a query and a device collection that is by department.
    In the administration of sccm 2012 sp1 I added the attribute "department" but I do not see a way to build a query that shows:
    user name/computer name/department/etc
    It seems the users and system resourses of the query are split up. Not sure how to join them to get the query I am after. Any help would be great. Thanks

    Hi,
    please examine the Active Directory System Discovery log (adsysdis.log) to confirm that discovery is running properly.
    For more information, please review the link below:
    Discover additional Active Directory attributes with SCCM 2007/2012 discovery
    http://deployos.com/blog/2013/01/05/discovery-additional-active-directory-attributes-with-sccm-20072012-discoveries
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Operating system name under Device Collection

    Hi,
    I have created device collection and select the Operating system from Add criteria but operating system is showing as below..
    can this will be show the real OS name as Windows 7 ,Windows XP , Windows Server 2008 R2, Windows Server 2012 R2 instead of  Operating system as below...
    Shailendra Dev

    No, you can't run a query one time that will change this information in the console.  The info displayed in the console is what is being discovered out of Active Directory for the the Computer Object.
    They were suggesting that if you wanted to see a list of computers and a more friendly name, you could run a Query in the console or write a report in SSRS - but that would just be for viewing the information there and would not affect things on the server.
    Nash Pherson, Senior Systems Consultant
    Now Micro -
    My Blog Posts
    If you found a bug or want the product to work differently,
    share your feedback.
    <-- If this post was helpful, please click the up arrow or propose as answer.

  • I need an example of JSR179 implementation for CDC based device

    Actually i am trying to develop an LBS(Location based Service) application for Pocket PC that is a CDC based Device,
    I searched a lot on internet for any example that could help me but could't found anything usefull information.
    I found a lot of stuff for MIDP, i found JSR179 implementation for MIDP but could't found anything for CDC(Connected Device Configuration).
    So i need an example of JSR179 implementation for CDC based device. I really need it.
    waiting for your help....
    thanx
    Vivek Mishra

    What is it from a business perspective that you are trying to accomplish?
    What are you going to do with this data once you get it into the format you're envisioning?
    Are you anticipating creating a collection of REC_SET records? Is there a reason that you're not using an associative array keyed on the c2 value (assuming collections are even appropriate to the problem you're trying to solve)?
    Justin

  • SCCM Client installation to only Online machines from All Systems Device collection through Client Push

    Hi,
    How can we create a device collection based on only online machines , than use that collection to install the sccm client through client push method.
    Shailendra Dev

    You can run a ping report and then create a collection from only the online machines:
    Ping Report Script (Put the machine list in "pclist.txt" in the same folder):
    Const ForReading = 1
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("WScript.Shell")
    If not objFSO.FileExists("Pclist.txt") THEN
    wscript.echo "File not found,"&_
    vbcrlf&"with a hard return at the end of each line."
    wscript.quit
    end if
    tempobj="temp.txt"
    Set objTextFile = objFSO.OpenTextFile("Pclist.txt", ForReading)
    logfile="results.csv"
    Set ofile=objFSO.CreateTextFile(logfile,True)
    strText = objTextFile.ReadAll
    objTextFile.Close
    wscript.echo "Ping starting"
    ofile.WriteLine ","&"Ping Report -- Date: " & Now() & vbCrLf
    arrComputers = Split(strText, vbCrLF)
    for each item in arrcomputers
    objShell.Run "cmd /c ping -n 1 -w 1200 " & item & " >temp.txt", 0, True
    Set tempfile = objFSO.OpenTextFile(tempobj,ForReading)
    Do Until tempfile.AtEndOfStream
    temp=tempfile.readall
      striploc = InStr(temp,"[")
            If striploc=0 Then
                strip=""
            Else
                strip=Mid(temp,striploc,16)
                strip=Replace(strip,"[","")
                strip=Replace(strip,"]","")
                strip=Replace(strip,"w"," ")
                strip=Replace(strip," ","")
            End If     
            If InStr(temp, "Reply from") Then
                 ofile.writeline item & ","&strip&","&"Online."
            ElseIf InStr(temp, "Request timed out.") Then
                 ofile.writeline item &","&strip&","&"No response (Offline)."
            ELSEIf InStr(temp, "try again") Then
                 ofile.writeline item & ","&strip&","&"Unknown host (no DNS entry)."
    End If
    Loop
    Next
    tempfile.close
    objfso.deletefile(tempobj)
    ofile.writeline
    ofile.writeline ","&"Ping complete "&now()
    wscript.echo "completed."
    objShell.Run("""C:\Program Files\Microsoft Office\OFFICE11\excel.exe """&logfile)
    -RG

Maybe you are looking for

  • Lost WP Text = Recovery Possible?

    I've lost text in an AppleWorks Word Processing file. Here's what happened: I opened a new file, gave it a name, and saved it to my desktop. I wrote and perodically saved my work from the keyboard using Command-S. While the document was open, I then

  • Problems with connecting my Mysql db to visual studio 2013

    Hey all, I tried connecting my MYSQL db to my visual studio 2013 after installing all db connectors from MYSQL and tried following multiple guides its still not working. I first had VS Express but it seems the express versions don't support that so t

  • Session State Protectio Violoation in Apex 4.2 Page Items

    I'm testing my Apps that I upgraded from 3.2 to 4.2 and getting the message below and haven't been able to understand why. Error Session state protection violation: This may be caused by manual alteration of protected page item P2_PAY_NO. If you are

  • Using attachments

    I have tried finding info re how to send attachments...have tried clicking "paperclip" icon, can't seem to find any way to send attachments.

  • Renaming a tablespace

    hi I have a tablespace and wanted to rename it: alter tablespace oldttbs rename TO newttbs; create user newttbs identified by newttbs default tablespace newttbs grant unlimited tablespace to newttbs However, I noticed that the owner is still the old