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.

Computer Discovery in PDQ Inventory

We have a bunch of computers we are managing with Intune/Microsoft Endpoint Manager. I'm wondering how others are handling discovery of the devices. 

# Define the ports to be opened
$InventoryPort = 30301
$DeployPort = 9722

# Create an array with the port numbers
$Ports = @($InventoryPort, $DeployPort)

# Loop through the array and open each port
foreach ($Port in $Ports) {
  New-NetFirewallRule -DisplayName "Open Port $Port" -Direction Inbound -Protocol TCP -LocalPort $Port -Action Allow
}

Would a powershell like this work to make sure all ports that PDQ need are open? How does the Discovery process work? 

Also, can a discovery be set up to run regularly each day to collect them? I really wish I could just pull DHCP information and attempt to add them from there.

0

Comments

1 comment
Date Votes
  • I'm not familiar with the ports being used in your script. For the ports needed for PDQ, check out our article: Firewall Ports and External Exceptions – Support (pdq.com)

    Do you have a hybrid AzureAD environment? Is your PDQ Server able to communicate with your targets?

    There isn't currently a way to run a scheduled network discovery.

    0