.NET - Copying an executable across LAN to another computer, and executing it

后端 未结 4 862
遇见更好的自我
遇见更好的自我 2021-01-13 05:37

I\'m using .NET, and going crazy trying to find any helpful API that lets me transfer a file across a LAN network (trough admin credentials of course) and then execute it on

4条回答
  •  礼貌的吻别
    2021-01-13 06:08

    On machines that don't have PowerShell 2.0 remoting enabled, I find the PsExec commandline tool very useful. It requires administration permissions on the remote machine.

提交回复
热议问题