Skip to content

Unknown Computers in a specific IP range

Featured Replies

Hello gents,

 

I would like to create a device collection which contain computers which have not been deployed already and which are in a specific IP range.

After this I would like to deploy a task sequence on this device collection in order to install new computers located on a specific site of our company.

 

So I created the following WQL query : (does not work)

 

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.ResourceId in (select ResourceId from SMS_CM_RES_COLL_$ID) and SMS_R_System.IPAddresses like "10.10.10.%"

 

$ID is the ID of the collection which contain unknow computers (using direct rules)

 

Any idea ?

  • Author
thanks for your reply newadmsccm, but it is not exactly what i am looking to achieve.

Actually I already know how to query machines in a specific subnet and I know that there is direct rules in order to gather unknown machines.

But I would like to create a query which combine both, unknown computers which are in a specific subnet.

  • Author

The unknown computer objects (the two defaults) (those which are in SMS000US)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.