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?
February 9th, 2015 12:14pm
Yes. You will have to install the CCM Client first and then you can create the IP Subnet based device collection.
-RG
February 9th, 2015 12:53pm
Is for all Query based device Collection ccm agent required? can you please refer some docs regarding.
February 9th, 2015 12:57pm
Without SCCM Client you can only create query based collections based on the Discovery Information.
I don't have any documentation on it as such for now, let me see if I can find something for you.
-RG
February 9th, 2015 1:09pm
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.
-
Edited by
d4rkcell
18 hours 1 minutes ago
February 9th, 2015 1:12pm
The following link will help you understanding query based collections better. The bottom line is that you can create collections based on the information in the Database. Database is fed with information once at discovery and then during the Client Inventory
collection. So in essence, without the Sccm client the scope of creating Query based collections is very limited and is confined to the Discovery data.
http://www.hayesjupe.com/sccm-collections-the-basics/
-RG
February 9th, 2015 1:13pm
Please try this once you have your clients ready. You need to create a query based collection.
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.IPSubnets =
"192.168.X.X" ORDER BY SMS_R_System.IPSubnets
Thanks
February 9th, 2015 1:42pm
February 10th, 2015 2:20am