Solved

Run Powershell Script from a SharePoint Page

Posted on 2013-06-15
2
2,148 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

628 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