Shutdown Function

Shutdown Function


Regedit32

Moderator
Joined
Mar 4, 2016
Messages
2,937
Reaction score
909
Regedit32 submitted a new article:

Shutdown Function - Shutdown Function

The following is a simple function to allow the User time to close other programs they may have open, before the computer shuts down to perform tasks you may include in a Script you code.

The Prompts that appear can be labelled. In this example they are labelled Modifications but you can use whatever information you like here, or nothing at all - that is your call.

Note: If you want to test this in Windows PowerShell ISE, it will set the shutdown time to 2...
Read more about this article...
 
Last edited by a moderator:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top