Skip to main content
 首页 » 编程设计

c#之关闭远程系统

2024年02月23日12三少

我将如何关闭或重新启动远程系统。

一个场景可以用作学校教室中的一组联网计算机,教师将能够关闭选定的系统以从他们的机器上关闭。

我怎样才能做到这一点。

我已经搜索了一种方法来检索联网的机器,但在这种情况下它会如何工作?

请您参考如下方法:

Microsoft SysInternals 实用程序 psShutdown将完全满足您的需求。

You can use PsShutdown to initiate a shutdown of the local or a remote computer, logoff a user, lock a system, or to abort an imminent shutdown.