Solved

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

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

Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

803 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