Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Adding Computers in Dynamic Collection with Different IPs

 Hi All ,

I was hoping to determine if it was possible to give PDQ Inventory a specific list of Different IP addresses to scan  in Dynamic Collection as i need to add Pcs in Dynamic  collection By filtering with Different IP addresses   . 

1

Comments

4 comments
Date Votes
  • Hossam,

    Maybe I'm misunderstanding what you want to do, but yes, there is a simple way to do this with a dynamic collection.

    You could do this by setting the top-level group filter of your dynamic collection to "Any" and then assigning all of your matching value filters underneath. Here is an example of several different ways to filter IPs, depending on how the IP ranges you are working with break down:

    If none (or very few) of your IP addresses are sequential, then I recommend that you do this with a regex filter like this:

    ...And for copy & pasting, here is the actual value for the filter:

    ^(172.20.3.1|172.20.4.1|172.20.5.1|192.168.0.10|192.168.1.10|192.168.2.10|192.168.3.10|192.168.4.10|192.168.5.10|192.168.6.10|192.168.7.10)$

    Basically, your filter begins with ^( and ends with )$ and you just put each IP address in between with a pipe character ( | ) in between each one. Don't put a pipe at the beginning or end.

    It is worth noting that PDQ Inventory doesn't handle computers with multiple IP addresses well at all. It basically only stores the one IP address that it determines to be the "correct" one in the Computers table, so if you have a laptop that is e.g. on a docking station with both a wired and a wireless IP address, it will only return one of those IP addresses. I wish they would move to storing the IP addresses in the NIC table instead so that they could use several, but I recognize that this is a niche problem that most PDQ users won't experience.

    1
  • Unfortunately, this is exactly my problem. I have devices that change IP addresses continually. Is there a way to prompt an update to the IP addresses?

     

    1
  • Scott,

    The way to do that is with DNS, I suppose.

    Can you elaborate on your problem more?

    0
  • You could schedule a task to run ipconfig /flushdns periodically.

    0