Shutdown Windows machine from linux terminal

前端 未结 8 1997
眼角桃花
眼角桃花 2020-12-28 21:12

I am running an application on linux machine. By giving the ip address of a windows machine as input, the application must shutdown the windows machine. If the machines run

8条回答
  •  无人及你
    2020-12-28 21:26

    It depends on your infrastructure -- how you authenticate to the Windows machines, whether you can configure them yourself, etc. If it were me, I'd put Cygwin on the Windows boxes, then ssh to them and run shutdown -h. There are surely other ways to do it, of course.

提交回复
热议问题