How to connect to a remote Windows machine to execute commands using python?

后端 未结 11 2104
青春惊慌失措
青春惊慌失措 2020-11-29 20:20

I am new to Python and I am trying to make a script that connects to a remote windows machine and execute commands there and test ports connectivity.

Here is the cod

11条回答
  •  醉酒成梦
    2020-11-29 21:24

    Many answers already, but one more option

    PyPSExec https://pypi.org/project/pypsexec/

    It's a python clone of the famous psexec. Works without any installation on the remote windows machine.

提交回复
热议问题