r/sysadmin • Systems Engineer • Aug 18 '16

PowerShell is open source, available for Linux and OS X

https://github.com/PowerShell/PowerShell
1.3k Upvotes

369 comments sorted by

View all comments

Show parent comments

31

u/[deleted] Aug 18 '16

Theoretically, maybe, if you had Cygwin installed on Windows (or Ubuntu in the new Windows 10 thingy). But as it is, no, you can't just run bash scripts on Windows or Azure.

10

u/funknut Aug 18 '16

Git for Windows installs a pretty fully feature bash port for windows.

17

u/kihashi Aug 18 '16

Even if all of your windows machines are on Win 10, you have to enable "Developer Mode", which works great is you are a dev or sysadmin, but I don't think it will work for most end user set ups.

20

u/[deleted] Aug 18 '16

True. As an administrator, I don't think I really want to enable "Developer Mode" on everyone's machine.

1

u/[deleted] Aug 18 '16

Would cygwin not fit the bill in that case?

12

u/[deleted] Aug 18 '16

Possibly, but I wouldn't say that my experience with cygwin has been that it's perfectly reliable and trouble-free-- at least not to the point where I'd install it on all of my end-users' computers without thinking twice.

2

u/phoenix616 Aug 18 '16

Yeah, I was taking a jab at the bash on windows in 10.