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.