Skip to content
/ Shutdown Public

Shutdown any PC/notebook/server with user interface and user choice

License

Notifications You must be signed in to change notification settings

3rk1n/Shutdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Shutdown | PC/Notebook/Server | Saving Electricity

This project created by editing the original script [1] helping to shutdown the devices automatically 5 minutes after it started or helping to shutdown with user choice. The main goal of this project is saving electricity from opened devices. Also, you can deploy by GPO.

GUI

[1] https://community.spiceworks.com/topic/544793-shutting-down-pcs-with-user-interactive-user-prompts

Descriptions

CHOICE DESCRIPTION
Close Stop the process until next starting time
Shutdown Shutdown right now
Postpone : 1 Hour Postpone 1 hour and then shutdown automatically
Postpone : 2 Hours Postpone 2 hours and then shutdown automatically

GPO Deploy

  1. Create a new GPO and give a name
  2. Edit your new created GPO
  3. Go to Computer Configuration -> Preferences -> Control Panel Settings -> Scheduled Tasks
  4. Create a new scheduled task and give a name
  5. Choose a trigger time plan
  6. Create an actions
  7. Choose PowerShell location on program/script area
  8. Choose your script location and add this command before the script location to not see PowerShell window when it starts -NonInteractive -WindowStyle Hidden on argument area

Create-Task

Create-Action

About

Shutdown any PC/notebook/server with user interface and user choice

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published