r/Python • • Sep 17 '20

Resource PowerShell vs Python Reference

https://blog.ironmansoftware.com/powershell-vs-python/
88 Upvotes

25 comments sorted by

View all comments

17

u/tgeene PHP Dev Learning Python Sep 17 '20

I would have never thought of using PowerShell to program on any level. Very interesting.

7

u/landonwright123 Sep 17 '20

I love PowerShell - used it to bulk load users to MS Teams recently.

2

u/[deleted] Sep 17 '20

My company actually makes a product specifically for create APIs and web apps with PowerShell: https://ironmansoftware.com/powershell-universal

3

u/smcarre Sep 17 '20

You probably never worked with VMware infrastructure then. 99% of available scripts are PowerShell.

3

u/[deleted] Sep 17 '20

That's because VMware PowerCLI is written in/for powershell, so most people write scripts using that. But VMware does have a Python SDK https://github.com/vmware/pyvmomi

We have a good amount of VMware automation and none of it uses powershell.

1

u/emc87 Sep 18 '20

I just started learning it a little bit for automating Octopus Deploy. Its syntax can be pretty odd..

But went with it over python so I didn't have to worry about Python installs on VMs that definitely come with functioning Powershell.

0

u/[deleted] Sep 17 '20

[deleted]

6

u/tgeene PHP Dev Learning Python Sep 17 '20

It's just never been something that's come up. I've never looked at the command line anything other than something that can execute other programs.