Link to home
Start Free TrialLog in
Avatar of Jo Cox
Jo CoxFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Power shell events and SQL

Hi Experts

Can I use powershell to set an event, in this case monitor a directory for a file to be created then spawn some SQL that will take the contents of the file as a parameter?

Jo
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jo Cox

ASKER

This looks really useful, thank you.
What do you think would be the best way to approach registering something like this as a service.
Avatar of oBdA
oBdA

Either as a scheduled task, with a trigger of System Startup, or this:
NSSM - the Non-Sucking Service Manager
https://nssm.cc/
Avatar of Jo Cox

ASKER

Many Thanks, gives me a good starting place to work from.