Dear All,
I have the server list to shutdown and restart, create the operator menu to select machine to shutdown or restart server. I know that the right must be admin group member. Therefore I want to write the batch script to instruction the operator to shutdown or restart server from the operation menu
The menu have three options, 1 . Restart 2. Shutdown 3 Quit
Press 1 then input the server name , then read the server name go to shutdown /s /m \\$servername by remote, I have no idea the syntax to read the input server name then go to remote shutdown machine . Can you give me hint for this ?
Thanks