Solved

Run Powershell Script from a SharePoint Page

Posted on 2013-06-15
2
1,507 Views
Last Modified: 2013-06-23
This is probably an easy one I should know, but I don't. I have several PowerShell used for system checks and management that produce results that I display through SharePoint. I would like to add a button to the display pages that would run the PowerShell script (stored on a file share) so the report would be updated with a browser refresh. Any ides about how to do this?

Thanks
0
Comment
Question by:everythingbutthemoo
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
Comment Utility
Hi,
who will use this?
I would suggest to create a Sharepoint application page.
Perhaps you can find some inspirations her:
http://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_27956605.html
Or
http://geekswithblogs.net/Norgean/archive/2012/09/19/running-powershell-from-within-sharepoint.aspx
HTH
Rainer
0
 
LVL 8

Expert Comment

by:vaderj
Comment Utility
If you have already written the script, there is a set of advanced workflow activities here: http://ilovesharepoint.codeplex.com
One of them is a workflow action that can run a powershell script.  Do you have the script already written out?
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now