jteich Posted June 6, 2015 Posted June 6, 2015 (edited) 1. Is there any way to enable Powershell scripts to be directly selected as system scripts on FMS schedules? I can only select CMD scripts, which can indirectly start Powershell. 2. Is there a way to start Powershell scripts (on FM Server) triggered from the client? (Better than running a schedule like in [1] every x minutes .... ). ~Jens Edited June 6, 2015 by jteich
Wim Decorte Posted June 6, 2015 Posted June 6, 2015 1 - no, unfortunately. 2 - you can have a normal FMS schedule that runs every minute on the server, clients create a new "request" record in a specific table, the server-side schedule picks up on it and uses the free BaseElements plugin to run the fmsadmin command line to run the target schedule. Then the request record gets deleted. All in all not real-time but very close to it. Alternatively you can also use the psexec tool if your clients are all windows to run a command directly on the server. But that is not secure at all since it can be hijacked to do other things (and it requires all your users to have the necessary privileges on the server OS.... very dangerous.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now