Solved

Powershell - How to give rights to an ASP application to run a Powershell Script.

Posted on 2010-09-06
5
1,622 Views
Last Modified: 2012-05-10
Hi..
I have a powershell script I need to run from an ASP.Net page. How can I give a user rights to execute the command in ASP.Net / IIS6.
thanks
0
Comment
Question by:JElster
  • 3
  • 2
5 Comments
 
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 33615124
0
 
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 33615130
0
 
LVL 1

Author Comment

by:JElster
ID: 33617073
Part of my script I trying to run has  a  -linkedCredential param.. when I include that I get the following error.  Any ideas ? thanks

Cannot process argument transformation on parameter 'Credential'. Cannot invoke this function because the current host does not implement it.
0
 
LVL 1

Author Comment

by:JElster
ID: 33620236
Any idea how I can get around this?  

Cannot bind parameter 'LinkedCredential'. Cannot convert the "System.Management.Automation.PSCredential" value of type "System.String" to type "System.Management.Automation.PSCredential".
0
 
LVL 1

Accepted Solution

by:
JElster earned 0 total points
ID: 33730646
Don't know how to give permission to run the the web page
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

This article will help you understand what HashTables are and how to use them in PowerShell.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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…

808 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