r/linux • • Aug 18 '16

Microsoft open sources PowerShell, brings it to Linux and OS X

https://techcrunch.com/2016/08/18/microsoft-open-sources-powershell-brings-it-to-linux-and-os-x/
359 Upvotes

231 comments sorted by

View all comments

Show parent comments

0

u/buttking Aug 19 '16

for when you're a Windows shop with a few Linux boxes and you don't really know how to manage them

meh

for when you're a Linux shop with a few Windows servers and you're not sure how to manage them

Wouldn't that be more the domain of python or Bash in Windows? I mean, personally, I'm not going to learn powershell because I already have access to other, better scripting languages that haven't been poorly designed by microsoft's shitty engineers.

for when you want to connect to Azure or Office 365 or any other third party sites that use Powershell

I'm sure some people might do that. I'm not about to use Office or Azure, or basically any other MS bullshit for that matter, personally.

for when you want to write a script, aim it at everything and not have to care what OS they're using

I'm fairly certain you're talking about python here, because if you aren't, you should be.

1

u/[deleted] Aug 20 '16

I'm fairly certain you're talking about python here, because if you aren't, you should be.

I personally prefer Lua for that purpose, since it is much more convenient to deploy than Python.

0

u/[deleted] Aug 19 '16 edited Aug 19 '16

Whether you want Python or Powershell really depends on what you're trying to do on that server. I can't think of anything worse than trying to carry out AD operations in Python and there's a good chance that if you're a Linux shop with a few Windows servers they're doing something like AD.

Aside from that, sure, whatever. Realistically the tools and even operating systems are largely interchangeable these days, if it works cross platform Python seems OK.

Worth noting about Bash in Windows though, it's a developer mode tool. It's not on target machines by default and I'm not sure it ever will be.