Solved

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

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Synchronize a new Active Directory domain with an existing Office 365 tenant
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now