Collection for whether file exists?

Comments

5 comments

  • Mike Kercher

    Are you scanning that directory in your scan profile?  Once the file is deleted by your script, it should fall out of the collection after the next file scan.

    0
    Comment actions Permalink
  • John Q

    Yes it is scanned in one of the scan profiles. 

    However I see duplicate systems in this Dynamic collection that I see in the Collection containing systems that do have the file.

     

    0
    Comment actions Permalink
  • Mike Kercher

    I would think your first filter is not needed since all of your Windows machines are going to have C:\Windows\System32.

    For your second filter, I'd change Comparison from Contains to Equals.

    0
    Comment actions Permalink
  • Mike Kercher

    I also run into false positives every once in a while.  I have a dynamic collection for the existence of a particular file, but if I browse the C$ share, the file does not exist. 

    0
    Comment actions Permalink
  • John Q

    Ok thanks, I think that works then. 

    So if file exists:

     

    If file doesn't exist:

    0
    Comment actions Permalink

Please sign in to leave a comment.