locked
Running Powershell from within SharePoint aspx page RRS feed

  • Question

  • HI,

    Is it possible to execute powershell script from an aspx page in Sharepoint 2013 ??

    Please shown an example, of possible

    Tuesday, February 27, 2018 10:49 AM

All replies

  • you need to develop a custom webpart which will execute the powershell and place the webpart in the sharepoint page

    https://channel9.msdn.com/blogs/bruceky/how-to-embedding-powershell-within-a-c-application

    https://social.msdn.microsoft.com/Forums/office/en-US/36bdc930-d874-4f0f-a207-9285c72356d7/executing-powershell-script-from-sharepoint-webpart?forum=sharepointdevelopment


    Karim... Please remember to mark your question as answered, if this solves your problem.

    Sunday, March 25, 2018 7:22 AM