r/linuxadmin • u/dimkoss11 • May 22 '26
A high-level language for scripting?
I usually use Python or C# for writing scripts, what are the disadvantages of this compared to use Windows Batch, PowerShell, Bash?
16
Upvotes
View all comments
Show parent comment
-2
u/fathed May 22 '26
Why?
Powershell is basically c# in a shell, you can also directly compile and run a c# script with one line.
Why people still suggest a non-object oriented shell language will never stop baffling me.
For the actual op, python is fine, as long as you are just running scripts, but if you also want your scripting environment to also work as a shell, powershell wins in my opinion.