This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Launch Powershell script from ARS Web Interface

Sorry if I'm missing something obvious (we've just recently deployed ActiveRoles Server), but I cant seem to find an easy way to launch a standalone powershell script from within the ActiveRoles server Web Interface.

I have a simple script which exports a list of user objects from our Deprovisioned Users OU to a CSV file, and I'd like our Help Desk staff to be able to launch this script from the WEB UI by clicking a custom menu item like "Generate Deprovisioned Users Report"

Can anyone point me in the direction of any existing documents that show me how to do this?

Parents
  • 1. Modify your script so that it has a function "wrapper" - i.e.

    Function MyScript ($Request)
    {

    # Script code goes in here

    }

    2. You need to put the script itself on your AR server
    3. You need to add the script to your script modules library in AR MMC - add it as a "policy script".
    4. Add a "script activity" to your workflow, select your script and then the function name you added to it.
Reply
  • 1. Modify your script so that it has a function "wrapper" - i.e.

    Function MyScript ($Request)
    {

    # Script code goes in here

    }

    2. You need to put the script itself on your AR server
    3. You need to add the script to your script modules library in AR MMC - add it as a "policy script".
    4. Add a "script activity" to your workflow, select your script and then the function name you added to it.
Children
No Data