Powershell to update hosts file on PDQ from RAS VPN Clients

Comments

2 comments

  • Dustin Owens

    Is there anyway to setup PDQ Inventory to run this script before a Scan cycle ?

    0
    Comment actions Permalink
  • Colby Bouma

    There's no official way to do that, but I have a hacky idea.

    1. Create a static Collection that only contains your PDQ Inventory host
    2. Create a PowerShell Scanner in a new Scan Profile with your script
    3. Go to the Collections tab of this Scan Profile and Link it to the Collection
    4. Set the Trigger for this Collection to happen before your other Scan Profile
    0
    Comment actions Permalink

Please sign in to leave a comment.