M
M
Michio -2018-07-18 15:19:25
Automation
Michio -, 2018-07-18 15:19:25

Program for remote execution of various tasks?

I work as a tester.
There is a fleet of cars, about 20-30 pieces. These machines have different purposes (servers, workstations, database server, product-specific machines) but from time to time it is necessary to perform some different actions on them, such as:
1. Restart a certain process
2. Append/delete certain lines to certain files
3 Run programs of different versions
4. Monitor the state of the memory of a certain process / processes (it is not necessary to keep a log, real-time monitoring is enough)
I would like to somehow automate this business. because now, for each of these processes, you have to jump over RDP and perform these actions repeatedly by hand.
The most cardinal approach is to write an application that will be both a client and a server at the same time and will perform the necessary actions and communicate with other copies of itself and send them the necessary commands and data. But accordingly, this takes time and subsequent support.
Are there any ready made alternatives?
All machines run Windows of different versions from server to Windows 10
All have RDP access
All are on the same local network

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
res2001, 2018-07-18
@Michio

I will add that using standard tools from batch files, you can execute remote commands using wmic:
wmic /node:"servername" process call create "notepad.exe"
All this works if you have administrator rights to remote PCs.
https://habr.com/company/pc-administrator/blog/342428/

D
Dmitry, 2018-07-18
@Tabletko

SCCM, ansible, PS + scripts
For testing under Win there is another product from MS, but I don't remember its name

E
Ezhyg, 2018-07-18
@Ezhyg

PsTools by Sysinternals

A
ApeCoder, 2018-07-18
@ApeCoder

WinRM

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question