Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command support #2

Open
natalie-o-perret opened this issue May 25, 2017 · 1 comment
Open

Add command support #2

natalie-o-perret opened this issue May 25, 2017 · 1 comment
Assignees

Comments

@natalie-o-perret
Copy link

Would be nice to have a command support rather than say just the a script file, it might involve some trickeries though to make it really smooth to use without using the string block + extension strings (to avoid closure issues).

@zippy1981
Copy link
Owner

I think this would be cool, and I'm very excited to find someone interested in my project.

Is what your envisioning:

poshrunner -e "Write-Host 'Hello World'"

I don't see why I can't just pass whatever the value of -e is as a script to powershell and then you can just include semicolons or whatever. Can you provide an example of something that you thing would require a string block plus extension strings?

Give me an example of a complex

@zippy1981 zippy1981 self-assigned this May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants