- Messages
- 321
- Solutions
- 4
- Reaction score
- 58
- Points
- 28
We can create SCCM collection using many method like OU based , Query based, manually adding etc. Its possible to create collection using IP address range too. I would like to share the same here .
While creating the collection you should mention the IP address range in the Query .
Here i have created the collection using the IP address range - from 10.4.128.0 to 10.4.128.128
While creating the collection you should mention the IP address range in the Query .
Code:
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.IPAddresses >= "10.4.128.0" and SMS_R_System.IPAddresses <= "10.4.128.128"
Here i have created the collection using the IP address range - from 10.4.128.0 to 10.4.128.128

