Solved

Run Powershell Script from a SharePoint Page

Posted on 2013-06-15
2
1,983 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 39250895
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
ID: 39252169
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sharepoint 2012 site not live after migration 7 94
SharePoint sub-site searching and results. 8 50
Sharepoint server slow 4 72
sharepoint 2013 calculated column error 5 68
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

752 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