Python Forum
How to parse the result of winrm.Response?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to parse the result of winrm.Response?
#1
I have a code script with pywinrm. I connect a remote machine and run powershell.
The result type is class 'winrm.Response', how can i parse it?

My result is something like that:

<Response code 0, out "b'\r\n\r\n__GENUS '", err "b'#< CLIXML\r\n<Objs Ver'">
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020