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
0
u/chocopudding17 May 22 '26
Who mentioned containers? Like, yeah, you should basically never have more than just busybox in a container at the most. But the OP seems like a very general question. And I agree with fathed's appreciation of PowerShell, and that non-object oriented shells are broadly inferior. Mind you, I use bash for plenty of things. But that's mostly for inertia and historical reasons than it actually being better. If I had a fleet of servers where I could have PowerShell universally installed, I'd probably only write PowerShell.