Home > OS > To realize the remote batch services on the server
To realize the remote batch services on the server
Time:09-24
My computer is Windows 7 system, now has more than one server, Windows server 2012 R2 account passwords are the same, by remote, how can realize batch on each server service (batch start or stop the same service), the service name and location are the same, what is the solution, and the great spirit show
CodePudding user response:
Give a train of thought, can consider Telnet + VBS method implementation,
But each server IP should pay attention to modify
CodePudding user response:
A bat batch, respectively to join the IP, username, password Roughly as follows: Tasklist/S XXX, XXX, XXX./Uusername/P oassword/F/T/IM process. Exe The timeout 1 Tasklist/S XXX, XXX, XXX./Uusername/P oassword/F/T/IM process. Exe The timeout 1 The exit 0