Scan Profile Only for Specific Collection

Comments

4 comments

  • Jeremy Stewart

    To anyone looking for a workaround on this since it's not natively(and may not be) available in the UI, you can do this with the CLI and task manager.

    The following command will run a scan profile against a specific collection (adjust path accordingly, strings are kept in quotations):
    "c:\Program Files (x86)\Admin Arsenal\PDQ Inventory\pdqinventory.exe" scancollections -scanprofile "Your Profile" -Collections "Your Collection"

    I have this command set up in task manager to run before the day starts, and an auto-report chases it shortly after.

     

    0
    Comment actions Permalink
  • Josh Stephens

    The command line isn't working for me, it doesn't update the collection. Does it have to run while the interactive window is closed for all other login sessions or anything?

    This is something that would be a definite benefit to have in the UI.

    0
    Comment actions Permalink
  • Jeremy Stewart

    I have mine running with elevated privileges. When run correctly in the command line, the output should show like this:

    Scan Profile: Custom Scan Profile
    Computers   : 10
                : COMPUTER1
                : COMPUTER2
                : COMPUTER3
                : COMPUTER4
                : COMPUTER5
                : COMPUTER6
                : COMPUTER7
                : COMPUTER8
                : COMPUTER9
                : COMPUTER10

    If the UI is open, you should also see the scan started.

     

     

    0
    Comment actions Permalink
  • Josh Stephens

    I had a mistake in the parameters of my scheduled task. All set now, thanks for the post and the follow ups.

    0
    Comment actions Permalink

Please sign in to leave a comment.