Need help with possible batch (unlikely probably need a different language)
Hi, my I attend IT job training school I'm in 11th grade. My teacher says I should consider computer science but I'm vague on the concept.
I've been attempting to create something that could do something like opening the gui for remote shutdown in cmd, choose all the computers, and shut them off remotely, when correct permission allows. I then want this to be applicable by the touch of one button, and then migrate it to a personal android app. I don't want to have to configure it with something similar to:
for /f %%k in (computers.ini) do (
Ping -w 100 -n 1 %%k | findstr Reply > nul
if errorlevel 1 (
echo %%k is offline...
) else (
shutdown.exe /f /m \\%%k
echo %%k is shutting down...
I'd prefer it to use cmd but I have been told it's impossible, I considered using srl (color bot) to navigate the gui but I don't know if that's a possibility.
Basically (THIS IS NOT GOING TO BE AN ACTUAL USE OF THIS SOFTWARE) to test the requirements of the code would be if you could take it to an unprotected poorly configured network and shut all the computers down with one click. Again, not what it's going to be used for. I want it for emergencies like my computer being fried or me walking out the door. Any suggestions or help would be appreciated.