J
J
JZorkiy2018-10-24 16:29:12
Operating Systems
JZorkiy, 2018-10-24 16:29:12

A programming language for automating OS administration. Which one would you choose now?

A programming language for automating the administration of win / linux operating systems ...
Perhaps you are already using something, but if you could instantly retrain to another PL?
Cross-platform is important.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Saboteur, 2018-10-24
@saboteur_kiev

How do you imagine cross-platform administration of Windows and Linux, if they have completely different internals? Automatic installation of drivers in Windows and Linux are two different things.
Many things in the windows network are set centrally through global policy, which Linux has no idea about.
Again, installing software is different.
In principle,
For Linux, of course, the best is bash
For Windows - powershell / bat
You can put git on windows so that bash scripts work.
But anyway, for a number of tasks, it will be necessary to make conditional transitions in scripts and call either sysinternals and powershell for windows, or gnu / bash with sudo on Linux.
For banal things - bash/python/perl should be more than enough, but it's not so much administration automation as general automation.

F
Fixid, 2018-10-24
@Fixid

python + ansible

O
OnYourLips, 2018-10-24
@OnYourLips

ruby or python
the first allows you to write shorter, the second is friendlier for those who are not professional developers

V
Venya Babiyman, 2018-12-18
@vanyabrovaru

perl. Easy to install on Windows, default on Linux.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question