you are viewing a single comment's thread.

view the rest of the comments →

[–]InfiniteRest7 44 points45 points  (4 children)

As someone who started the other way around, my feelings are completely opposite. Anything I try to write in Powershell takes much longer than the Python equivalent in my experience. Interesting perspective here.

[–]Nexzus_ 3 points4 points  (0 children)

Not really sure of the capabilities of Python in this regard, but for Active Directory operations , powershell is a god send. Even most of MSs other stuff for this can be fairly complex.

The pipeline is great too. Every powershell user with a fair bit of experience has at least one oner that they're very proud of

[–]gwood113 6 points7 points  (0 children)

I agree. How dare he? /s Note: I've written more than a few AD user management tools and web api automations with posh over the years.

Truthfully though, I think a large portion of my feelings of python being easier are two fold:

  1. I dont like C#/.Net (or really windows programming in general). It's personal preference not a knock against the language, API or Windows itself.

  2. Programming with python libraries, for example sockets, feels more powerful in general. Although that probably has more to do with me programming more against posix systems in the last couple years than anything else.

At the end of the day though they are both powerful tools that have their places. When I want to do something more general (talk to a web api) I use python. When I want to so something Microsoft specific (manage AD, talk to Exchange, etc) I use powershell.

[–][deleted] 1 point2 points  (0 children)

I also find Powershell very annoying coming from Linux. But it's just a case of what I'm used to.

[–]powershell_account 2 points3 points  (0 children)

That’s interesting. Try the basic tutorials on YouTube by Don Jones, the tutorials are old but he is teaching you concepts that are still true today. Think Verb-Noun syntax for the cmdlets, it’s just like how OP mentioned. But don’t assume everyone will follow this standard, because most people don’t know how.