GithubHelp home page GithubHelp logo

Comments (6)

pdunnigan avatar pdunnigan commented on June 3, 2024

Hey Trevor,

I am on client site this week but will try to dig in on this next week
before the holiday.

Can you post the full source of the script either in the github issue or
as a link to a gist? That would be super helpful in hitting the ground
running on it

(side item: you should change your password now that it's public!). The
script you post can have the address, user, password obfuscated just fine.

Thanks
Patrick

Trevor Sullivan mailto:[email protected]
November 18, 2015 at 2:00 PM

I'm using cPython 3.5 on Mac OS X. When I try to run a PowerShell
script remotely, I get an exception:

image
https://cloud.githubusercontent.com/assets/466713/11255730/058b011c-8e05-11e5-91f3-b2bdcf1b9eee.png

Any thoughts on what could cause this? The repro is in the screenshot.

Cheers,
Trevor Sullivan
Microsoft MVP: PowerShell


Reply to this email directly or view it on GitHub
#80.

from pywinrm.

pcgeek86 avatar pcgeek86 commented on June 3, 2024

Patrick,

Thanks for your help. The code here is pretty straightforward. 😄

import winrm;
MySession = winrm.Session('trevorssd.westus.cloudapp.azure.com', auth=('Trevor', 'P@ssw0rd!!'));
MySession.run_ps('Get-Process');

I'm happy to jump on a call with you if you'd like to help take a look at this. I'm pretty accessible. :)

Cheers,
Trevor Sullivan
Microsoft MVP: PowerShell

from pywinrm.

pcgeek86 avatar pcgeek86 commented on June 3, 2024

@pdunnigan Hey, just wanted to check in to see if you'd be able to help out with this at all. Thanks

Cheers,
Trevor Sullivan
Microsoft MVP: PowerShell

from pywinrm.

Matt141421356 avatar Matt141421356 commented on June 3, 2024

Hi,
I've met this issue with Python 3.4.3 on Centos and Amazon Linux box too.

Thanks,
Matt
AWS Certified in All 5

from pywinrm.

briantownjr avatar briantownjr commented on June 3, 2024

This seems to still be an issue with Python3, just submitted my own issue about this before seeing this one.

from pywinrm.

nitzmahone avatar nitzmahone commented on June 3, 2024

should be addressed via #222

from pywinrm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.