Solved

Run Powershell Script from a SharePoint Page

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
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…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

947 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

23 Experts available now in Live!

Get 1:1 Help Now