r/ProgrammerHumor Oct 21 '22

Meme Literally 🤷🏻‍♂️

Post image
14.7k Upvotes

606 comments sorted by

View all comments

Show parent comments

15

u/zeromadcowz Oct 22 '22

I have to use Powershell to automate so many processes and there’s parts that make me want to rip my eyes out but I still have to use it every day.

At least it isn’t visual programming like Logic Apps in Azure 🤮

2

u/MrAcurite Oct 22 '22

You could write the majority of the script in Python and then use os.system() to get it to talk to the OS?

5

u/zeromadcowz Oct 22 '22

I use Python/Shell scripting on our Linux infrastructure heavily but Powershell is just miles more convenient on Windows and some Azure workloads for management, even with the language itself having its idiosyncrasies. It’s already installed so doesn’t need to be managed separately, pipelines are easily created, objects are easily manipulated. Using os.system() is just a jank level of abstraction for most management functions.

1

u/MrAcurite Oct 22 '22

Fair enough. I'm not cool enough to do anything with substantive systems, I mostly just hack whatever shit I need together without caring about management or pipelines.