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.

Files and Directories

I am finding that Files and Directories is not updating on some machines when scanning. My scanner looks for subfolders in C:\Apps called Panic. Inventory shows 136 PC's but when i manually check them with file explorer there is nothing in there that should trigger this dynamic collection. 

I am well versed in how collections/scanners work and how they are configured so i dont believe this issue is my fault. What i have found out is if i open an individual PC in Inventory and 'Delete' that line item in 'Files and Directories' it falls out of my dynamic collection. If i rescan it it remains out of the group. Its like there are stale records in that table not updating.

Is there a way for me to bulk delete inventory records in the files and directories table to be able to rescan the domain so my inventory is accurate?

1

Comments

4 comments
Date Votes
  • Do you have the same scanner in multiple Scan Profiles?

    1
  • I have added this scanner to the 'Standard' so it get polled after a deployment. I also have it as a standalone incase i only want to poll this data individually.

    1
  • Yep, that's the problem. Custom scanners (Files, Registry, PowerShell, and WMI) create duplicates if you copy them into other Scan Profiles. If you want the same scanner in multiple profiles, you can use the Connect-PdqInventoryScanner function of my PdqStuff PowerShell module.

    Install-Module -Name 'PdqStuff'
    Import-Module -Name 'PdqStuff'

    Read the warning, then:

    Connect-PdqInventoryScanner

    Follow the prompts.

    1
  • Ahh! Great information. Thank you so much Ill check this out. Thank you for the quick help.

    1