Trigger on event in folder

Home Forums Scripting PowerShell Trigger on event in folder

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    Chrisdo
    Member
    #154152

    Hello,

    I’m trying to find a way to run a powershell script when a txt file is created in a SPECIFIC folder. I have a PHP website which generates certain logs and I gather information in these logs with powershell later.

    Does anyone know how to do this?

    Shortly:
    txt file is generated and stored in c:test.
    When there is a txt file in c:test -> run script.ps1

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.