--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/10db59fe-54f6-4bee-bd4f-9d146096dd07n%40googlegroups.com.
To double-check:
Also, I did it a python code (which need WinRM python module) to test the remote windows machine with a command, can you run and test it?
import winrm
session = winrm.Session('your-windows-ip', auth=('your-user','your-password'))
result = session.run_ps("hostname")
print(result.std_out)
Can you see the “hostname” command output?
Regards!
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/68b87812-85fd-40d4-85ee-1409b1cd8a5bn%40googlegroups.com.
Hi Abraam,
The winrm module is present if you do pip3 list command? (different to pip list). If not present, you can install it with pip3 install pywinrm.
Regards.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/45353bef-a91f-435d-9cd6-27dae034b8e8n%40googlegroups.com.