I have been playing with the automation of user onboarding via the command line and have managed to get the following working:
- Creation of non-windows users
- Creation of Folder structures
But for the life of me I can't figure out how to, or if it is possible to automatically populate the event trigger.
How would I go about creating a trigger that does the following via the CLI or Web API?
- Trigger on upload file
- Folder Filter: */a/b/c/*
- Trigger on success
- Powershell or JSS Script type
- <body of script>
- <Working directory or user to run script as>