I would like to create a small program that allows me to turn off a networked PC.
I have therefore set up a code in a notepad which allows me to perform this function: shutdown -m \\pc-name
Everything works very well. But I'd like that before this function does, a window opens and asks to click OK to execute, or Cancel if I decide not to turn off the PC. Basically I want a message confirming the execution.
Someone knows how to do that?
Bookmarks