The following IP range will be used to demonstrate the steps required:
192.168.1.29 - 192.168.1.120
- Create a new query by right-clicking Queries and selecting 'New'.
- Double click on 'Computers'.
- In the Query Designer window, select Inventory-Discovered Inventory. Expand Inventory-General Inventory-Network-IP Address.
- In the operator pull-down at bottom, change the '=' symbol to 'LIKE'.
- Enter the first value which in this case would be 192.168.1.29.
- Click 'OK' and 'Yes' to the Add inventory prompt.
Note: Ignore the warning message each time; it is ok that no Boolean identifier is being used for these items.
- Click 'OR' under the 'Boolean Operators' section and then browse again to Inventory-Discovered Inventory, etc.
- Add the next value for the argument. We have only accounted for '.29' at this point and we still need to account for .30 through .120. We can do this by repeating the process for the above line; where we pasted in 192.168.1.29, and replace the previous value with the following:
192.168.1.[ 3-9][0-9] - This searches .30 to .99
192.168.1.1[0-1 ][ 0-9] - This searches .100 to .119
192.168.1.120 - This accounts for .120