Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

How to call powershell script from aspx page

$
0
0

Hi All,

I have a aspx page and i want to execute a powershell script and get the output (reports) as a excel file on the click of a button. The scene is like, i have twp drop down buttons and one button on the page. the first drop down list will contain the list of site collections and sites in the particular web application and the second drop down contains the list of reports ,like space occupied by the site/site collection, site users etc etc  the second drop down actually is related to the powershell script which is already written.. When the user selects the two drop downs and clicks the submit button a report gets generated as is in the form of the excel file.. how  to accomplish this task? any help is really appreciated.


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>