Powershell Script to run on button click on an page with SharePoint 2010? RRS feed

  • Question

  • my current client has an issue which requires a powershell Script to run to unlock locked workflows.

    for some reason,  when trying to do it thru a scheduled task on the server, the script throws an error.

    Is there a way to get the PowerShell script to run thru C# code?  or even thru JS Code with in a webpart?

    As the SPAdmin has to manually run the script every three hours . to prevent this, it would be easier to automate the triggering of the script.

    Any ideas on how to automate the Powershell Script?

    Wednesday, July 17, 2019 8:56 PM

All replies