Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

Shutdown

Abort a shutdown / Shutdown a local or remote Windows machine

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Introduction

This is an application to shutdown either a local or remote Windows machine.

Usage: shutdown [[params] MACHINENAME]

  -a (abort current shutdown)
  -f (force apps to close on shutdown)
  -?,h (Show help)
  -m "Message"
  -r (reboot after shutdown)
  -u username
  -p password
  -t timeout (in seconds before shutdown commences)

MACHINENAME: LOCAL or \remotehostname if MACHINENAME is empty or LOCAL, it implies the local machine

Examples

  • shutdown /?
  • shutdown -?
  • shutdown -t 5 -m "Shutting down in 5s"
  • shutdown -u "Chee Wee" -p 1234 \\HOST1
  • shutdown -u "Chee Wee" -p 1234 \\10.1.1.1
  • shutdown -a
  • shutdown -t 5 -r -f