Dan*_*Tao 7 windows session remote command-line psexec
我想通过命令行在同一网络上的另一台计算机上打开一个应用程序。这里的场景是,用户在一个被大约 20 台计算机包围的房间里,并且希望能够在每台计算机上启动相同的应用程序,而无需在每台计算机上从一个屏幕到另一个屏幕打开它。我发现我可以使用PsExec获得基本功能,如下所示:
psexec \\[computer] -u [username] -p [password] -d -i [SessionID] [program]
Run Code Online (Sandbox Code Playgroud)
对于computer, username, password, 和program,我很好。有谁知道我可以找出SessionID分配给登录到网络上特定机器的特定用户的方法吗?或者,有没有更好的方法来完成我想要完成的工作?
| 归档时间: |
|
| 查看次数: |
42560 次 |
| 最近记录: |