Solved

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

Posted on 2010-09-06
5
1,625 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
[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
  • 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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the adminiā€¦

726 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