Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Powershell Execution
-
I am trying to execute a simple external powershell script that I have saved on a remote server.
The script contains
param($SolutionPath)
write-output $SolutionPathAnd I have my variables text box set up to look like this
SolutionPath=C:\TestPath\HelloWorld.txtHowever when I run that powershell the SolutionPath is blank. What do I have set wrong to pass in the parameter to my powershell script?
-
Currently, parameters are not supported by that action, though it is likely we will add them. For now if you drop the 'param($SolutionPath)' line it will work.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login