Sandeep Bansal
Sandeep Bansal

Reputation: 6394

Shutdown a remote system?

How would I go about shutting down or rebooting a remote system.

A scenario can be used as a group of networked computers in a school room, the teacher will be able to shutdown selected systems to shutdown from their machine.

How would I be able to do this.

I have searched for a method to retrieve networked machines, but in the scenario how would this work?

Upvotes: 1

Views: 780

Answers (3)

NBPC77
NBPC77

Reputation: 277

You could use the Win32_OperatingSystem.Shutdown method.

Upvotes: 0

Michael Petrotta
Michael Petrotta

Reputation: 60902

The Microsoft SysInternals utility psShutdown will do exactly what you're looking for.

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.

Upvotes: 3

dan
dan

Reputation: 393

Using the shutdown.exe from the command line in Windows would work, you can specify the computer name you'd like to shutdown and plenty of other options.. you could put shortcuts to these commands on the user's desktop so it would be easy for him/her to shutdown each one individually.

Upvotes: 1

Related Questions