-
Notifications
You must be signed in to change notification settings - Fork 265
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
command-line interface #42
Conversation
@diyan Do you see this pull request happening? |
@jakobadam Thank you for this feature. I will do a code review and merge your pull request. Unfortunately I can not tell you exact deadlines for this. In any way I'm agree that pywinrm should have command line interface. |
Sounds good. I'll see if I can add some tests. |
What about including support for X509 authentication in the CLI? Here's the pywinrm CLI that we currently use, including both password and X509 auth: https://github.com/cloudbase/pywinrm/blob/master/wsmancmd.py |
Bumped version to 0.0.4
Better error message on missing kerberos ticket. Add kerberos example.
1 similar comment
1 similar comment
This allows for better feedback with long running commands.
This way, cli calls will also benefit from feedback-as-we-go.
This way, the streams will be set only once, bound to the Protocol object, instead of to each run command.
This is more in line with the way it is called.
Streaming output cli
@jakobadam I know it has been a while, but do you mind rebasing? After that I can look at this PR |
Hi Brian. It's been a really long time since I used this. Feel free to reject the PR. |
Thanks, and sorry about that. Closing now. |
Hi
Thanks for the work on pywinrm. I'm using it in several projects.
This pull request contains a WinRM CLI using pywinrm. I need it for doing quick WinRM interactions. In general it works, except that multiline cmd commands doesn't work:
Do you have any idea why?
Note: executing multiline scripts using powershell work:
Other working examples are in the code.
kind regards,
Jakob