Shutdown Windows machine from linux terminal

前端 未结 8 1982
眼角桃花
眼角桃花 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:27

    To find your actual Windows username, open cmd and run

    echo %username%
    

    This is the username (not case sensitive) you have to use in your net rpc command

提交回复
热议问题