I was hoping for some python programming assistance.
I have limited experience in Python but wanting to learn.
My python script:
s = winrm.Session('127.0.0.1', auth=('dude','dude'))
r = session.run_ps("hostname")
I got the script above from
Anyway, when I run my script I get the following error:
' AttributeError: 'module' object has no attribute 'Session' '
Bit lost since I believe I have everything I need to run winrm (I installed pywinrm==0.2.2 from the site above).
Maybe its an old module or something is out-dated in the example code? (speculating)
Note; also installed; 'pip install pywinrm'
Always happy to help others. 100% human