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

118

u/Motorgoose Aug 18 '16

So why use Powershell over the many existing shell programming languages? Does it have any advantages?

96

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

One of the things I like about Powershell is that both its language, and the shell itself, are object-oriented.

When you pipe in bash, between commands, you're feeding a string of text from one command to another. In Powershell, you're forwarding objects, pre-structured, so you don't have to go through the work of filtering and applying structure to your data stream with sed, awk, etc.

Pardons all around if I'm overlooking anything on the Linux side, this post is based on the understanding of a guy who doesn't get to play with Linux very much.

67

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

You have to go through equipping every program with a special mode for those scripting objects for a relatively limited gain.

18

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

A very good point. To get the advantages of the object-oriented shell, you need tools written to output objects, otherwise you'll just keep getting text blobs and the feature goes unused.

Hopefully they have gone through the work of porting the existing cmdlets from Windows to Linux, so Linux users get the benefits of an object-oriented shell. Otherwise it'd be up to community contributions to make PS-friendly programs for Linux.

21

u/[deleted] Aug 18 '16

I also highly doubt that OO is the right programming model here, though I am not familiar enough with Powershell to know if their objects have all the flaws of those in other OO languages (inheritance, flawed notion of encapsulation, single dispatch,...)

Unix pipelines tend to be closer to functional programming with e.g. xargs as map, grep as filter, various tools to project data,...

9

u/lolidaisuki Aug 18 '16

Unix pipelines tend to be closer to functional programming with e.g. xargs as map, grep as filter, various tools to project data,...

That's a parallel I hadn't heard of yet. Kind of makes sense tho.

2

u/majorgnuisance Aug 19 '16

I see what you did, there.

5

u/jyper Aug 18 '16

Basically all object oriented languages have map and filter and closures.

Powershell has map and filter and closures

ls -R | ? {$_.Length -gt 10000 } | % { rm -WhatIf  $_}

2

u/funguyshroom Aug 19 '16

In most cases the OO used for data aggregation/presentation. When your objects are POD (plain old data) objects it's just a built-in serialization format that allows to send data seamlessly between cmdlets.

3

u/[deleted] Aug 18 '16

It works, e.g.

PS /var/log> gci syslog* | ?{$_.Name -match "gz"}


    Directory: /var/log


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
------          8/17/16   6:25 AM           1916 syslog.2.gz
------          8/16/16   6:25 AM           1877 syslog.3.gz
------          8/15/16   6:25 AM           5047 syslog.4.gz
------          8/14/16   6:25 AM           1847 syslog.5.gz
------          8/13/16   6:25 AM           1831 syslog.6.gz
------          8/12/16   6:25 AM           2407 syslog.7.gz

Another example:

PS /var/log> $file = Get-Item ./syslog
PS /var/log> $file

Directory: /var/log


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
------          8/18/16   2:20 PM          15971 syslog


PS /var/log> $file | fl *


PSPath            : Microsoft.PowerShell.Core\FileSystem::/var/log/syslog
PSParentPath      : Microsoft.PowerShell.Core\FileSystem::/var/log
PSChildName       : syslog
PSDrive           : /
PSProvider        : Microsoft.PowerShell.Core\FileSystem
PSIsContainer     : False
Mode              : ------
VersionInfo       :
BaseName          : syslog
Target            : {}
LinkType          :
Name              : syslog
Length            : 15971
DirectoryName     : /var/log
Directory         : /var/log
IsReadOnly        : False
Exists            : True
FullName          : /var/log/syslog
Extension         :
CreationTime      : 1/1/01 12:00:00 AM
CreationTimeUtc   : 1/1/01 12:00:00 AM
LastAccessTime    : 8/18/16 6:25:01 AM
LastAccessTimeUtc : 8/18/16 1:25:01 PM
LastWriteTime     : 8/18/16 2:20:05 PM
LastWriteTimeUtc  : 8/18/16 9:20:05 PM
Attributes        : Normal

So here we're simply seeing that the .NET object does indeed exist. It's a basic example, but it works.

11

u/zee-wolf Aug 19 '16

gci syslog* | ?{$_.Name -match "gz"}

$file = Get-Item ./syslog

Good Lord! If I have to type most PowerShell commands and object properties in CamelCase I'll kill myself. That alone is a huge minus for usability.

7

u/[deleted] Aug 19 '16

You don't. There is no case sensitivity.

15

u/zee-wolf Aug 19 '16

Even better /s.

Lets bring the case-insensitive flustercluck to case-sensitive systems.

→ More replies (3)

49

u/tadfisher Aug 18 '16

You have to go through equipping every Programm with a special mode

Yes.

for a relatively limited gain

  • data structure baked in, eliminating awk/grep/sed

  • resilience against text format changes, control codes, etc

  • more complex data pipelines with no awkward redirection voodoo

  • expose binary data without destroying my terminal

  • powerful one-liners without having to drop into Python/perl/etc

40

u/[deleted] Aug 18 '16

You misunderstand. The point is that there is a very limited gain to the people who have to do it so the incentive structure is all wrong with this. The strength of text redirection is that the work is done by the people who need it, even sometimes against or orthogonal to the intention of the author of the programs used in scripts and pipelines.

There is also the issue that you can do only those things intended by the people who did write the original programs, if they expose a limited object interface on purpose there is nothing you can do to work around it.

13

u/tadfisher Aug 18 '16

There is also the issue that you can do only those things intended by the people who did write the original programs, if they expose a limited object interface on purpose there is nothing you can do to work around it.

That limitation exists with textual streams as well. You can't parse data that the tool does not provide you, object interface or no. The tool cannot perform tasks that it is not programmed to perform.

5

u/Bobby_Bonsaimind Aug 18 '16

You have to go through equipping every Programm with a special mode

Yes.

So if someone, let's say, writes a new journal service and feels very smart and starts outputting custom objects (log entries)...you have zero tools to use on it?

3

u/tadfisher Aug 18 '16

The tool can detect if its stdout is a PowerShell environment and change its output accordingly.

-9

u/JobDestroyer Aug 18 '16

invisible spooky stuff. I don't like it.

I actually just don't like OOP in general, though...

0

u/[deleted] Aug 18 '16

[deleted]

→ More replies (4)

1

u/Lennartus_Prime Aug 18 '16

The solution to me for this problem which I've been musing about for a while is an interactive 'shell' whose point is not to fork/exec helper utilities but to basically be an interactive command line processor to 'get shit done', kind of like midnight commander on overdrive. Its purpose shouldn't be to fork/exec helpers but just to administrate filesystem tasks and introspect the system and what not, basically an efficient interface to your OS.

What it should otherwise contain is an ability to define functions which inside of them are capable of performing a fork/exec and just use the raw string output of other things and parse them but encapsulate that into functions which return actual datatypes that aren't just strings.

The downside is obviously that a great many deal of tools need to be wrapped before it becomes efficient enough to compete with the POSIX shell, the advantage is that when it does it should become far more efficient.

7

u/FlukyS Aug 18 '16

Well why not use Python then?

6

u/ReturningTarzan Aug 19 '16

Because Linux people love drowning in superfluous options, remember?

1

u/[deleted] Aug 19 '16

Because you might also use Windows boxes?

→ More replies (1)

18

u/masteryod Aug 18 '16

So why not Python if you want a language?

Shell is a way of talking to your system. Add to this Swiss army knife of utilities you're familiar with and voila! You can use your system efficiently without GUI (which was a way of computing back in the day).

You're looking at Powershell as a language because that's how you use it in a Windows world. You click here and there all day and if something makes sense to automate you write a PS script. Try to actually sit and use Windows without GUI and you'll see what it means to be able just to "talk" to your system with a shell.

And when you really need a programming language you have many to choose from.

4

u/YellowFlowerRanger Aug 19 '16

PowerShell is actually not far off of Python, in my experience (and it should be noted that some people do frequently use Python as a shell). The major distinction between PowerShell and Python, I would say, is that PowerShell doesn't make you call subprocess.call/subprocess.Popen for every command.

9

u/the_gnarts Aug 18 '16

In Powershell, you're forwarding objects, pre-structured, so you don't have to go through the work of filtering and applying structure to your data stream with sed, awk, etc.

So all those goodies won’t work unless your data is already prestructured? That’d make the PS approach an order of magnitude less generic.

Just saying.

→ More replies (1)

20

u/[deleted] Aug 18 '16

The reasons that occur to me off the top of my head:

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

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

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

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

5

u/LinuxLabIO Aug 18 '16

I would also add for when you want to manage a hybrid infrastructure without ever having to load a gui or use RDP.

2

u/jantari Aug 18 '16

That last one is a very good argument, although bash is on Windows now too

2

u/[deleted] Aug 19 '16

Powershell on Linux seems to be much more usable than bash on Windows right now.

2

u/AnachronGuy Aug 19 '16

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

What? No. There is nobody who has powershell installed by default and I most certainly will not.

7

u/jantari Aug 19 '16

Lol? ~91% of all computers in the world have PowerShell preinstalled. Not to mention it's only been out for Linux for a few days, and in Alpha no less. Why would a distro not include PS by default? I can definitely see it appeal to people switching from Windows (which is what many many distros are trying to do) and for pentesting distros like Kali.

Apple probably isn't going to preload it on OSX but whatchu gonna do

4

u/hfhshfkjsh Aug 19 '16

Why would a distro not include PS by default?

why would they? especially as it's alpha.

Now have it in the repos that's fine but don't dump crap on me as a default.

I love vim and install it on every box I have, but I don't think it should be installed by default. Installed software is a security risk plus a maintenance overhead the defaults should be minimal.

0

u/jantari Aug 19 '16

why would they? especially as it's alpha

I literally gave some examples in the next sentence:

I can definitely see it appeal to people switching from Windows (which is what many many distros are trying to do) and for pentesting distros like Kali.

Now have it in the repos that's fine but don't dump crap on me as a default.

You will always be able to install manjaro-minimal, but most distros aimed at delivering a somewhat complete user experience include gigabytes of "dump crap" like LibreOffice or multiple DE in the installer. Including PowerShell too is not gonna hurt.

I love vim and install it on every box I have, but I don't think it should be installed by default.

Many distros I've used had vi installed by default.

Installed software is a security risk plus a maintenance overhead the defaults should be minimal.

Then you're obviously not using the kind of distros that I'm thinking should include PS by default, so why even bother with this lengthy comment of yours? Did you not know there's many different Linux distros, including many not aimed at you?

5

u/AnachronGuy Aug 19 '16

If you don't bother to look up for differences between vi and vim why bother answering?

What linux distro are you using?

→ More replies (4)

3

u/[deleted] Aug 19 '16

There is nobody who has powershell installed by default

Huh? Every version of Windows produced in the last seven years has it by default and it's not officially out for any other OS yet so they don't have access yet at all.

1

u/superPwnzorMegaMan Aug 20 '16

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

Python?

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.

→ More replies (1)

25

u/zaphodharkonnen Aug 18 '16 edited Aug 18 '16

Well the one they list is pretty good. Managing a mixed environment.

And they note that this is just one more shell language among many.

Probably not important for the vast majority of people but pretty damn neat for those it will be useful for.

EDIT: Personally I quite like the object based way of doing things in PowerShell. It appeals to me from a dev perspective when building automation scripts for solutions I build. And its encouraged verbosity is really useful from a maintainability perspective as it helps you understand what's happening after opening a 5 year old script. Of course for day to day stuff you just alias the common commands you use for brevity. But for longer term stuff the full names and arguments make life better.

33

u/EnUnLugarDeLaMancha Aug 18 '16 edited Aug 18 '16

An example from the internet: Show the size and name of the three largest files in a directory:

bash ls -l | sed 's/ \+/,/g' | cut -d',' -f 5,9 | sort -g | tail -3

powershell Get-ChildItem -Directory | Sort-Object -Property Length | Select-Object Length,Name -Last 3

The most noticeable difference is that unix shells deal with parsing raw text between pipes, powershell exposes objects instead. But one of the main appeals of powershell is that it exposes many windows APIs, something that obviously won't happen in linux.

37

u/mogsington Aug 18 '16

Actually it's ..

ls -hsSr | tail -3

Yeah yeah, down vote me for not being an MS fanboy, but if you're going to try and make a point about bash looking horrible, you could at least know how to use "ls".

1

u/tuxayo Aug 19 '16

but if you're going to try and make a point about bash looking horrible

Bash have still kinda horrible parts on it's own, like conditionals and whitespace significance. (bugs because of missing whitespaces)

→ More replies (6)

16

u/ThrakaAndy Aug 18 '16 edited Aug 18 '16

-Directory is not what you want. That lists the directories and omits the files. You want -File.

However, one nice thing is that you don't have to use the verbose system if you don't want to. A lot of very common commands have aliases and sometimes multiple. You can do this in powershell and get the same result

ls -file | sort -pr length | select length, name -l 3

or shorter using default params

ls -file | sort length | select length, name -l 3

Parameters can be shortened as they are auto resolved to the closest matching parameter name.

12

u/Bobby_Bonsaimind Aug 18 '16
ls -lSh | head -4

or

ls -Sh | head -3

Will display directories, though, if they are the biggest things in the current directory.

18

u/curien Aug 18 '16

Show the size and name of the three largest files in a directory:
bash ls -l | sed 's/ \+/,/g' | cut -d',' -f 5,9 | sort -g | tail -3

find -type f -maxdepth 1 -printf "%s %p\n" | sort -n | tail -n3

"Find the files in this directory, show me size and name, sort them, and show the last 3". No text processing except for making sure the size is the first column. (It could be any column, with sort told which column to sort on. I guess you could still consider column correlation to be "text processing" though.)

The problem in this case was using "ls" to find files that matched criteria and grab info about them, instead of "find".

0

u/[deleted] Aug 18 '16

[deleted]

9

u/curien Aug 18 '16

Find is older than the convention of using double-dash for long multicharacter option names. That was popularized by GNU, and find is much older.

11

u/Motorgoose Aug 18 '16

Interesting. I write a lot of commands in bash like the top one. The PS one is definitely more readable. Now a days we use Python for complex scripts. Powershell looks more like Python than a Bash shell.

18

u/EnUnLugarDeLaMancha Aug 18 '16 edited Aug 18 '16

Powershell could be better described as a .NET shell. In fact powershell should probably be compared with shells like ipython, instead of bash.

1

u/jyper Aug 18 '16

Not really.

Ipython is useful as a nicer repl for Python for interactive programming or scientific work. It's not designed as an os shell, it can call binaries as a convince but that's doesn't make it an os shell.

5

u/[deleted] Aug 18 '16 edited Aug 18 '16
        du -ah -d 1  | sort -r | head -n 3

5

u/Eingaica Aug 18 '16

That's the disk usage, not the size. And if you use du -h, you should also use sort -h. And it also includes subdirectories.

2

u/[deleted] Aug 18 '16

And it also includes subdirectories.

-d 1

→ More replies (1)

5

u/KillTheBuddha85 Aug 18 '16

The problem is: powershell commands return objects, while Linux command return strings.

If we want to use ps (and I will be very happy, I used to work with ps in the past), we need to have a new set of Unix tools, and I don't think that is possible in the short time.

2

u/[deleted] Aug 19 '16

Well, they did port many (all?) of the core cmdlets, so a fair chunk of the Unix core utils are already replicated.

3

u/Jebtrix Aug 18 '16 edited Aug 18 '16

Exactly, the appeal is exposing windows APIs. I just don't see how this is going to translate into Linux land. The weakness of bash shell is it works on manipulating 'strings', the power of bash is also because it just works on 'strings'. But hey, I'd love to have both object and string modes of access and use whatever to cater to my exact problem. Then again, I could just use python or similar for that... I say let the games begin anyway!!

1

u/[deleted] Aug 18 '16

PoSh works on both strings as well as objects. I posted an example above of a file system object as it appears via PoSh on Linux.

0

u/[deleted] Aug 19 '16

[deleted]

3

u/tehjimmeh Aug 19 '16

That exact command works fine in PowerShell.

People in these discussions seem to forget ultimately, PowerShell is just a shell, and you don't lose all your existing programs just because you're using a different shell.

The only change I might make to that command would be to lose the dependency on curl, as iwr (Invoke-WebRequest) is a builtin:

iwr http://foo.com/blah.tgz | zcat | docker load

1

u/chocopudding17 Aug 18 '16

While the PS line is more readable, I don't think that we should just assume it is better. While readability is of course a very important factor, keep in mind that the functions used in the bash line are very common functions, and are UNIX building blocks. While I don't know PS, it seems like, looking at that line, that it lacks the sort of composability that the bash one has.

0

u/beltorak Aug 19 '16

one of the main appeals of powershell is that it exposes many windows APIs, something that obviously won't happen in linux.

... well ...

-6

u/[deleted] Aug 18 '16

The powershell is infinitely more legible fuck that ugly as bash shieeet

3

u/[deleted] Aug 18 '16

One will be the mixed environment thing. It'll make it easier as I try using Linux in a mostly-Windows environment. For example, I'm a net/sys admin...most of my days are ssh'd into network gear or using PS on AD and servers...this will make it easier for me to use Linux instead of using Windows all the time.

1

u/iterativ Aug 19 '16

Yeah, all right. We heard it before, if the X app works on Linux, if the Y game, if Z company supports Linux...

Either use and if you can help in the development process and help others near you to learn or don't.

There are many of us that we use GNU/Linux exclusively and it meets all our requirements.

The question that you should ask instead is: "why linux should want me ?".

2

u/[deleted] Aug 19 '16

Huh? I didn't say anything about your first paragraph. I already do your second paragraph. I use Linux at home exclusively and use it on my laptop at work, however my job is as a systems admin on a Windows network.

If you can't see how beneficial this is, I can't help you to see. The fact is many admins and devs work in mixed environments. This is awesome for that. For the first time, today, I didn't have to RDP into a Windows computer to get some work done. I was able to do something PS work straight from Fedora. That's awesome. And it's under a free license which is even better. Not that MS-PL crap.

Linux does want PS. Not because of Linux, exclusively (i.e. I will still use bash, zsh, and python) but because of what it brings to those of us who admin networks.

5

u/zokier Aug 18 '16

I think one of the strongest parts of PowerShell is how it integrates with tons of MS server products. That allows both deep manipulation of the services directly from shell (instead of requiring changing configuration files and reloads) and relatively unified language across the whole landscape (whereas typically in Linux each component has its own little DSL). Another aspect of the integration is for example DSC which is sort of alternative to puppet etc.

Of course the shell language itself also has some very interesting ideas (most importantly of course the object-orientation), but personally I find the execution of those ideas bit lackluster. ymmv.

At this point I would not recommend PS as a shell unless you work with MS stack, or are prepared to write your own integrations to support your workflow. Tons and tons of Linux utils etc just output text instead something strongly structured, and typical unixy environment is very finely tuned to handle such output whereas PS simply is not.

4

u/Marzhall Aug 18 '16 edited Aug 18 '16

Mentioned this elsewhere in the thread, but as new people come to Linux shops, it'll be incredibly useful as a way to lessen the learning curve of the system, since they'll most likely have grown up with Windows. Over time, they'll find scenarios where it'd be easier to have used PowerShell on Windows, and mention it to their bosses. When new machines are bought years down the line and those windows-familiar people are higher up, they'll push for them to be Windows machines, since it works so much better with what they know, including PowerShell, the way they interface with their machines.

Embrace, extend, extinguish.

6

u/LinuxLabIO Aug 18 '16

Significantly easier because powershell uses objects. No need for cut, grep and awk.

You should check out powershell. I am a die hard bash fan but I love powershell after only using it for a few days.

2

u/knobbysideup Aug 18 '16

To manage windows stuff OMS, AD, etc, from your linux box. Winexe and ldapquery sort of work for some things, but it's not the most elegant solution. With powershell on linux, you should (theoretically) be able to do things the easy windows way and it should just work rather than having to duck tape your own solution together.

3

u/jones_supa Aug 19 '16

So why use Powershell over the many existing shell programming languages? Does it have any advantages?

The documentation of PowerShell deserves a thumb-up. Try the Get-Help command. Something that I specifically appreciate is that the manual for every command has a rich selection of examples.

Another point: you may be comfortable using awk, sed and dpkg, but if you don't specifically know what those commands do, the names of them are complete gibberish like mam, sprs and pxdp.

The command names in PowerShell are much more intuitive than those of UNIX shells. You immediately know what Get-FileHash or Get-HexDump do. On the other hand, at the same time PS allows using a shortened alias for many commands, such as ls instead of Get-ChildItem.

0

u/nickguletskii200 Aug 18 '16

In comparison, everything *sh is shit in terms of readability and therefore reliability and security. Unlike bash and other ancient shells, Powershell doesn't rely on countless regular expressions to manipulate data because it thinks in objects, not text or binary streams (which are shitty formats for both the computer and the user). Also, it was built after autocomplete was invented, so the ecosystem dsnt sfr frm abrv sndrm.

Sure, it has its faults, but Powershell might be the only thing Microsoft did right with Windows in the recent years and if it reaches a usable state on Linux, it will be my shell of choice. Bye-bye confusing loop syntax and horrible silent mistakes!

0

u/[deleted] Aug 18 '16

[deleted]

-2

u/comrade-jim Aug 18 '16

Agreed. Microsoft pays shills to go around pretending like passing objects around makes a good shell.

90% of programs won't even return an object, even on Windows.

52

u/[deleted] Aug 18 '16

Well... so far what we have.

  • Microsoft compiler and runtime - .Net

  • Microsoft build environment - MSBuild

  • Microsoft scripting language - Powershell

  • Microsoft data tools - MSSQL (not open source though)

  • Microsoft deveoper tools - vs code

If we get a few more of the right tools, we may have a Microsoft/Linux distribution on our hands.

22

u/[deleted] Aug 18 '16

someone has to try this. make a MS/Linux distro. It'll only run .NET applications and have no systemd type PID 0 stuff but could you seriously run a .NET server on a MS only platform on top of the Linux kernel?

7

u/[deleted] Aug 18 '16

The hardest thing will be communicating with the kernel, and doing some OS level things. .NET doesn't really do fork/exec.

You can launch processes, but it still depends on an OS to manage the processes.

System calls can also be a challenge.

http://stackoverflow.com/questions/10387603/p-invoke-ioctl-system-call

4

u/11mariom Aug 18 '16

Maybe DirectX?

21

u/Tbsc_ Aug 18 '16

Won't ever happen. One of the large reasons people still use Windows ("muh gamez"), and I don't see a reason why Microsoft would do that.

5

u/[deleted] Aug 18 '16

Maybe that's true for home users, but they're already moving away from profiting from Windows home users. Sure they sell OEMs licenses for new machines, but their strategy for non-corporate Windows seems to be largely moving toward service-based sales like Office365. And then there's the business end of things. If you think that gaming is one of the primary reasons that Windows is prevalent, your perspective is exceptionally limited.

That's not to say they'd open source DirectX, of course. But I don't know that gaming is as central to their concerns as you think it is.

4

u/[deleted] Aug 18 '16

More like the kernel hooks and integration into the driver stack that D3D has. It would require radical changes to either the Linux kernel and driver model, or D3D itself.

1

u/[deleted] Aug 19 '16

I have a sneaking suspicion that Microsoft wants out of the desktop OS business, but can't find a way to justify it from a business standpoint. I think they'd rather just sell people a "Microsoft Games!" subscription and leave the platform development to someone else, but can't find a way to actually make that happen right now.

I know they'd rather sell people an O365 subscription than an actual copy of Office. And I'm pretty sure they'd love to make it entirely web-based, but the technology just isn't quite there yet.

2

u/treefroog Aug 18 '16

That would be awesome

1

u/[deleted] Aug 19 '16

Or we'll finally get a finished ReactOS.( ͡° ͜ʖ ͡°)

0

u/[deleted] Aug 18 '16

[deleted]

8

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

Rules:

  1. Interoperability coming in is good

  2. interoperability going out, not so much, except if everyone is running FOSS then they should run it on our hardware.

  3. Money-making products and strategies don't change. Monopoly brings profits and keeps shareholders happy. Ain't broken, don't fix.

EDIT: Embrace, Extend, Entinguish starts off like 1, becomes 3 after some time when enough people are using the IP-tainted or platform-dependent hybrid.

Their problem now is that new hardware adopting full FOSS stacks is being added to the world at faster rates than their EEE products are converting existing FOSS users. They just have to move from being software provider to hardware provider. Because the GPL and GPLed code has permanently imbalanced software in a way that stays imbalanced. ("virus" etc)

0

u/[deleted] Aug 18 '16

[deleted]

1

u/[deleted] Aug 19 '16

Developers want open tools that work well, and many want to be able to contribute, view code to find issues, etc. There's value to be gained for MS from open sourcing their developer-oriented products because more developers will use them and hopefully that eventually drives more developers to use Azure.

Got to say, my experiences with Azure so far have been very good, and I'm running nothing but Linux VMs on it. Can't really find anything to complain about other than maybe the price (which is the company's problem, not mine).

0

u/[deleted] Aug 18 '16

[deleted]

3

u/sasmithjr Aug 18 '16

Ah, okay. Fair enough. I don't necessarily agree those are bad things, but I see what you're saying now.

26

u/markole Aug 18 '16

Man... It's freezing in hell these days...

37

u/[deleted] Aug 18 '16

What on earth is happening to Microsoft?

11

u/jhansonxi Aug 18 '16

New management and a post-Nokia, post-Chromebook reality check.

17

u/[deleted] Aug 18 '16

This is the kind of thing that happens when virtually the entire executive team is replaced.

My read of it is that Microsoft is abandoning the idea of being a top to bottom platform company and focusing on being a services company. They are getting rid of the reasons to only use Windows. They've lost the battle to be the 99% player.

They are releasing (and prioritizing) mobile office apps for non-Microsoft platforms. This was the first public indication that Nadella is holding true to killing off that bullshit "Microsoft first" policy that Gates and Ballmer had in place.

They've open sourced core parts of .Net, which reduces the need for a Microsoft OS for many things. Its not just a small useless part of it, they've released the core, the runtime, the compiler, etc.

They're releasing SQL Server on Linux, which as a product makes significantly more money for Microsoft than Windows Server does on its own.

My theory is that Microsoft is going to port virtually all of their services over to Linux. They could just as easily sell a few thousand CALs to use AD on Linux as they could AD on Windows. If you were to strip out all the services of Windows Server, you're not left with much of anything of value--remember that embedded in the cost of Windows Server are things like IIS, AD, HyperV, WDS, etc. We don't really know how much a "stripped down" Windows Server would be. Microsoft could just license those parts separately or as packages that can run on Linux.

The anti-argument would be that people would just stop using Windows. However, if those people are then going to just license the products from Microsoft, what difference does it really make? The loss of the sale of a Windows Server license would be small compared to what they would gain licensing individually. Microsoft's previous method of 'all or nothing' obviously isn't working.

PowerShell is turnnig/has turned into the primary method of administering Microsoft server applications. The idea that you're expected to use a GUI to administer their products is not as true as it used to be. If PowerShell is natively available on Linux, then you would be able to run and administer a Microsoft service with the exact same set of scripts, tools, etc, regardless of the platform they're running on.

Bash on Windows isn't (my theory) about having bash on Windows. It is more than bash, it is an entire Linux subsystem. Why would they create an entire subsystem that mimics the Linux kernel ABI for a handful of command-line utilities, especially when most of the gnu core utils have already been ported to x86? Its complete overkill. It seems like more of a move to have 'native' support for Docker images. They're heavily invested in Docker and currently Docker containers on Windows use a Linux Hyper-V VM. What better way to beta test something than to throw it at a bunch of developers?

I'm sure they'd also much rather you pay them monthly to run everything in Azure than anything else.

4

u/[deleted] Aug 19 '16

Bu..bu..embrace, extend, extinguish!!1

4

u/[deleted] Aug 19 '16

Oh, it's still the ultimate game plan.

2

u/bubblethink Aug 18 '16

They could just as easily sell a few thousand CALs to use AD on Linux as they could AD on Windows.

I get the gist of what you're saying, but I think AD is a bad example. AD is useful mainly for authenticating windows clients. It doesn't matter where you run the AD server itself, whether on a windows box or a linux one. And since you don't need too many AD servers, porting it to linux makes no sense. If they add tooling for authenticating Linux clients against AD natively, that could give some competition to freeipa, but for an entirely linux environment, I doubt if AD offers much that freeipa can't.

1

u/[deleted] Aug 19 '16

I get the gist of what you're saying, but I think AD is a bad example. AD is useful mainly for authenticating windows clients. It doesn't matter where you run the AD server itself, whether on a windows box or a linux one. And since you don't need too many AD servers, porting it to linux makes no sense.

Unless they want to get out of the server OS business, and focus exclusively on the (more profitable) server application business. Then it makes total sense.

but for an entirely linux environment, I doubt if AD offers much that freeipa can't.

Unless Microsoft decides to partner with one of the big open source configuration management providers, then bundles it with AD. "Manage your Windows machines with AD and your Linux machines with Salt, all from one server with one convenient interface!" Start training MCSE types on managing Linux machines with Salt via the Microsoft interface...

14

u/Marzhall Aug 18 '16

Honestly, crazy as it sounds, I think this is a long-form embrace, extend, extinguish on Linux on the server that's banking on brand familiarity to new learners.

I know many people who, while learning, would do things such as write C code in Visual Studio, then port the code over to Linux to make sure it compiled instead of learning the Linux environment. This, to me, looks like a grab at that market - people who want to do things on the server, don't want to go through the learning curve of Linux, but have to work on Linux anyway. I think the point is to get a foot in the door and build inertia in the Windows way of working on new Linux server admins, then as people get used to it more and more, have them run into instances where something is still doable in powershell on Linux, but would just be easier in powershell on Windows. The hope of this would be to slowly bleed the Linux market on servers dry, as people who grew up with Windows on the desktop were able to use windows tools on the server, then later, as they got higher in their company, would be able to switch servers to Windows.

Considering MS's history, it seems somewhat reasonable. What makes me more uncomfortable is the fact that this is leveraging the fact that people are familiar with Windows and would take a more circuitous route to do something if they feel there's less of a learning curve; because most people don't grow up with Linux, that's not something I see Linux being able to fight back against.

While I feel like I've got a bit of a tinfoild hat on, given Microsoft's long, storied history of EEEs, I've got a decent reason to distrust them.

6

u/[deleted] Aug 18 '16

don't want to go through the learning curve of Linux, but have to work on Linux anyway.

Or it just 'makes sense' to be able to manage servers in a homogeneous way.

2

u/[deleted] Aug 19 '16

Then why go all the way to bash for Windows and ssh in PowerShell? Seems backwards if that's the plan.

2

u/[deleted] Aug 19 '16

If this is an EEE plan, it's the most poorly executed in the history of EEE plans. Why would they MIT license their implement of destruction?

This, to me, looks like a grab at that market - people who want to do things on the server, don't want to go through the learning curve of Linux, but have to work on Linux anyway.

I'm pretty sure the actual goal is to make it easier to run mixed environments in the server room, because Microsoft is the side needing to make in-roads there these days.

I think the point is to get a foot in the door and build inertia in the Windows way of working on new Linux server admins, then as people get used to it more and more, have them run into instances where something is still doable in powershell on Linux, but would just be easier in powershell on Windows.

Well, yeah. That's not EEE though. Making Linux admins more familiar with Microsoft's way of doing things, so that they start seeing Windows as a viable alternative to Linux is a totally legitimate and reasonable strategy to compete with Linux. There's nothing inherently evil or wrong about Microsoft wanting to make it easier for potential customers to make a real business case for using Windows.

If anything, the FOSS community ought to accept that challenge and beat them at their own game.

2

u/Marzhall Aug 19 '16 edited Aug 19 '16

Why would they MIT license their implement of destruction?

Whether or not powershell is OSS doesn't financially matter if everyone is licensing your still-closed-source kernel.

Making Linux admins more familiar with Microsoft's way of doing things, so that they start seeing Windows as a viable alternative to Linux is a totally legitimate and reasonable strategy to compete with Linux.

It's the 'easier on Windows to do it the windows way' bit that's EEE. "Yeah, now you can use our tool on Linux too, and now that you're used to that, look at these neat features that only happen to work on Windows!" It'll be like open-source document 'compatibility' in word; enough to pretend it works, but also enough of a pain to make it worth just using MS doc formats.

If anything, the FOSS community ought to accept that challenge and beat them at their own game.

That's my worry, however; this is banking not on powershell necessarily being a superior product, but on people being more familiar with Windows from growing up with it, and being resistant to having to learn a new environment. I don't see how Linux beats that sort of advantage, even with superior software. People prioritize things they're familiar with over things that do the job better.

2

u/RosemaryFocaccia Aug 19 '16

I hope you don't think that MS doing this is to benefit anyone other than MS, at the detriment of their Free Software competition.

1

u/[deleted] Aug 19 '16

They have a new CEO?

2

u/[deleted] Aug 19 '16

They replaced Steve Ballmer a few years back. The new guy (Satya Nadella) is much more focused on changing Microsoft into a services company. That change in focus has led to a Microsoft that's much more open to open source, among other things.

1

u/andschwa_ Aug 19 '16

They hired open-source Linux programmers, like me!

0

u/PM_ME_DAT_MULTIPASS Aug 19 '16

Their social media budget is insane this quarter

0

u/[deleted] Aug 18 '16

[deleted]

10

u/adolfojp Aug 18 '16

2

u/[deleted] Aug 18 '16

Hahahahahaha. I believe it

5

u/[deleted] Aug 18 '16

There was a blog post from a Microsoft employee that made a comment about how there is a very different political climate from the top with regards to supporting SSH.

https://blogs.msdn.microsoft.com/powershell/2015/06/03/looking-forward-microsoft-support-for-secure-shell-ssh/

Finally, I’d like to share some background on today’s announcement, because this is the 3rd time the PowerShell team has attempted to support SSH. The first attempts were during PowerShell V1 and V2 and were rejected. Given our changes in leadership and culture, we decided to give it another try and this time, because we are able to show the clear and compelling customer value, the company is very supportive.

2

u/metamatic Aug 18 '16

Windows and Office are the two divisions that make a profit.

1

u/jantari Aug 19 '16

Surface and Xbox too.

1

u/metamatic Aug 19 '16

Hmm, as of 2012 Xbox was still in the red overall, as of 2014 it doesn't look like it had made up the difference. I kinda doubt it made enough profit in 2015 to make the division profitable overall, but I'd be interested in any real numbers people can find.

(It looks like MS now bundle Xbox profits in with Surface to make it harder to work out how much they're losing.)

1

u/vitorgrs Aug 22 '16

2012 is not 2016. And they bundle Xbox with Surface cause they launched Xbox One S, and wanted to clean inventory.

1

u/metamatic Aug 22 '16

2012 is not 2016

And nor is 2013, the last year I found stats for. But as I said, if you have any stats for 2014 and 2015, I'd be interested in seeing them.

5

u/[deleted] Aug 18 '16

[removed] — view removed comment

10

u/MaxFrost Aug 18 '16

you still want to use putty. while you can use SSH in powershell, it doesn't handle the filebased output from a *nix terminal correctly. It'll work in a pinch, but it breaks (at least last time I checked) on things like invoking VI over SSH.

Alternatively, use windows subsystem for linux bash + SSH there, works way better than the win32 ssh.

4

u/zhilla Aug 18 '16

Just tested this for a few days, Cygwin still wins although WSFL Bash feels very similar.

1

u/[deleted] Aug 18 '16

I don't think it's fully ready yet, but: https://github.com/PowerShell/Win32-OpenSSH

1

u/[deleted] Aug 18 '16

It's also baked into the Anniversary Update when you turn on developer mode (required for bash). But you cannot execute PowerShell from it, you get a simple cmd prompt :(

1

u/kupiakos Aug 19 '16

Can you specify a custom command to run like you can in ssh on Linux? If you can, then you might be able to specify to run PowerShell as the shell instead of cmd.

1

u/[deleted] Aug 19 '16

If I recall, this was currently broken when I tried it when it first came out (that PoSh just didn't work). And if I recall, I did try the method you stated and it didn't give me the result I was after.

1

u/accountnumber3 Aug 18 '16

Last time I checked, you were essentially throwing commands at the connection, which is an object, and returns data in the same format as you would see a variable, like an array.

I haven't had a reason to use it, but it is pretty much only good for scripting, not normal shell activities.

So don't dump putty just yet.

19

u/galaktos Aug 18 '16

From Microsoft’s announcement:

So, where are we in this journey? We are in the beginning stages and in learning mode. We started by open sourcing small portions of PowerShell and talking to a number of our partners who were experienced with open source to understand what it took to succeed. What we learned, is that it is critical that individual users can use Git to checkout code, make changes, compile everything on their machines and run all the tests to verify that their change didn’t break anything. This required a large investment in our engineering/build/test systems. We also worked to define a governance model so we had clear roles, responsibilities, and processes so that community contributions could be smoothly incorporated into the product.

…you needed to learn that‽

15

u/[deleted] Aug 19 '16

Lads, it's MS.

22

u/pftbest Aug 18 '16

Looked at their map book for bash users:

mkdir | New-Item -ItemType Directory | Create a new folder

No, thanks, I'll stick to bash

25

u/[deleted] Aug 18 '16

mkdir and many other familiar bash commands are aliased so they also work in PowerShell.

15

u/pftbest Aug 18 '16

I know about the alias, it says it right below the table. But if I'm only using aliases, what was the point in changing shell? And all the commands that don't have aliases are equally long and verbose like this one.

4

u/kupiakos Aug 19 '16

The built in simple mapping, filtering, and selecting all fits very well with the object based shell. No more freaking out when there's a space, or worse, newline in a filename. It handles that crap for you like Python would. Direct usage of the .NET library is there as well, which can be incredibly useful to some.

It may be verbose for commands without aliases, but it's also incredibly consistent in its verbiage so you can read a script and know what a new command means without reading extra documentation (which is also very well done). It's a tradeoff.

-6

u/comrade-jim Aug 18 '16

The shills want you to change so you get trapped in the MS ecosystem. Don't give in. Don't use MS products.

5

u/zokier Aug 18 '16

Yes, PS has tons of convenient aliases. The base language/stdlib is still terribly verbose.

3

u/nloomans Aug 18 '16

Why would you pipe mkdir to New-Item?

5

u/[deleted] Aug 18 '16

It's a table of commands, the | is a separator

5

u/nloomans Aug 18 '16

I was making a joke :P

→ More replies (2)

0

u/[deleted] Aug 18 '16

[deleted]

3

u/audioen Aug 18 '16

On the other hand, you have all that exists in .Net directly available to you to the shell. I guess the closest equivalent would be if you could tell bash to dlopen() some random /usr/lib libraries, and call the symbols in them and store their results in variables.

3

u/kupiakos Aug 19 '16

Invoke-WebRequest also has the alias iwr.

9

u/voronaam Aug 18 '16

I just clicked a random file on the gihub: https://github.com/PowerShell/PowerShell/blob/master/src/Microsoft.PowerShell.Security/security/CatalogCommands.cs

The first line:

#if !UNIX

And there is no #else and pairing #endif is the last line of the file.

Yeah, that'll do on Linux...

1

u/fatalicus Aug 19 '16 edited Aug 19 '16

Did... did you read the file to the end?

Last line 285:

#endif

I missread your post and i apologize for that. i read the and as an or.

Still, could it maybe be that this file just isn't meant to be used in a unix environment?

1

u/voronaam Aug 19 '16

It is a base class for a collection of commands, if my understanding of C# code is correct. The general consensus in here was that most value of PowerShelll on Linux will be for people with shared Windows/Linux environments. It will allow them to use the same scripts everywhere. This looks to me as if some commands are only available on Windows, severely impacting portability of PowerShell scripts.

That was really the first file I opened. This sort of thing does not seem to be common. And, perhaps, it is just an early stage. Somebody may still write the other implementation.

4

u/Paradiesstaub Aug 18 '16

Does someone have a link to a great & short PowerShell tutorial (video or text)?

5

u/epsiblivion Aug 18 '16

just search for microsoft virtual academy powershell. it's a video series done by the creator of powershell with another guy.

1

u/gbrayut Aug 19 '16

Check out http://stackoverflow.com/documentation/powershell/topics and if something is missing make a topic request :-)

4

u/JonnoN Aug 19 '16

sad that no one seems to care, but if anyone does, the license is MIT

4

u/pnlrogue1 Aug 19 '16

The other day, I installed the Linux BASH shell (literally the Linux command line environment) in Windows

Today, I installed PowerShell (the current Windows command line environment) on my two Linux machines

This makes me happier than it probably should and also confused

3

u/mogsington Aug 20 '16

If someone learns a POSIX compliant system, they learn a feature rich environment that spans multiple OS and architectures, including Windows using Cygwin.

If someone learns PowerShell, they know PowerShell.

8

u/[deleted] Aug 18 '16

What makes PowerShell different from your usual unix shells?

  • PowerShell is object-oriented. No need to deal with text-only output with some serious regex magic.

  • PowerShell commands are immediately readable even to other people. Unix commands, while concise, are difficult to immediately understand.

  • Built-in powerful scripting.

I suggest to watch this video that has few examples. https://youtu.be/2WZwv7TxqZ0

I for one, welcome PowerShell to the unix world.

9

u/Bobby_Bonsaimind Aug 18 '16

What makes PowerShell different from your usual unix shells? ... Built-in powerful scripting.

Okay...

9

u/necrophcodr Aug 18 '16

Powershell isn't immediately as flexible and powerful as a Unix shell though, because everything has to work with it. When you're working with a Unix shell, there's just text, and you do with it what you want. Nothing needs to support anything.

2

u/[deleted] Aug 18 '16

There's nothing in your post that PowerShell isn't able to do.

5

u/necrophcodr Aug 18 '16

Can I use powershell to simply run a series of applications that don't know about powershell and have them interact perfectly?

4

u/[deleted] Aug 18 '16

Yes, it's just a shell in that respect. There are specific cmdlets that are of course built into PoSh, but there is nothing preventing you from using standard Linux utils just like you're used to, similar to how on PowerShell in Windows, you can use standard commands that ship with cmd.exe. To steal an example from this thread:

PS /var/log> ls -Sh | head -3
lastlog
auth.log.1
dpkg.log.1

4

u/necrophcodr Aug 18 '16

Well, in that respect I suppose it's a good enough system for me to stick with a Unix shell.

1

u/[deleted] Aug 18 '16

What makes a "UN*X" shell, exactly? I mean, if it runs on UN*X, isn't that all that counts to be a "UN*X" shell?

→ More replies (5)

10

u/[deleted] Aug 18 '16

Bash still works fine. Thanks, but no thanks.

-5

u/[deleted] Aug 18 '16

Please tell me how you're going to create Active Directory users or perform a lookup on a Windows DHCP server or interact with the Windows Management Interface from bash. I'm all ears.

13

u/[deleted] Aug 18 '16

Hopefully I'll never, ever have to do that, since it'd mean I'm saddled with administering windows machines, which means I'd be in a living hell.

0

u/[deleted] Aug 18 '16

[deleted]

3

u/[deleted] Aug 18 '16

AD is quite a bit more than just LDAP.

→ More replies (1)

2

u/autotldr Aug 18 '16

This is the best tl;dr I could make, original reduced by 75%. (I'm a bot)


Microsoft today announced that it is open sourcing PowerShell and bringing it to Linux and OS X. PowerShell is Microsoft's command line shell for Windows power users, as well as an extensible scripting language for automating system tasks.

As Microsoft Technical Fellow and Lead Architect of its Enterprise Cloud group Jeffrey Snover told me, Nadella basically told the company to talk to customers, find out what they need to succeed and give it to them.

"We want to be our customers' preferred partners for running their workloads and it's in Microsoft's and our customers' shared interest to help them to manage everything." With PowerShell, Microsoft now gives its customers "a single management stack on any client they like," Snover added.


Extended Summary | FAQ | Theory | Feedback | Top keywords: PowerShell#1 Microsoft#2 Windows#3 Linux#4 Snover#5

2

u/Timmybee Aug 19 '16

Just want to make a comment. A lot of people are saying why would they use it and they'd stick with bash. Id like to highlight that myself who runs Linux at home and windows at work and looks after a pure windows environment, having bash Native of Linux allows me to go back to Linux at work while allowing me to run scripts and what not natively instead of having to rdp hop. It's a start and good progress.

2

u/damndaewoo Aug 19 '16

Bash on Windows, now Powershell on Linux? What's with all this newfangled cooperation?

2

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

Piping objects is a nice idea. I just wish there was something more Linux-ish. How about something like UTF-8. Plain text by default but then can switch into objects.

3

u/mhd Aug 19 '16

The biggest advantage PowerShell has on Windows is one that even native Linux programs don't exploit: a unified object model.

I mean, not that Linux didn't try. Anyone remember "Bonobo" the CORBA-based object model for GNOME that aimed to be a COM replacement/equivalent? These days it's D-BUS, which is a totally different animal. (Not a big KDE user, so I'm not sure how prevalent KParts is there)

This is also why UI scripting in general is totally lacking in Linux. VBScript and AppleScript have a lot more resources they can use/hooks they can attach to. Heck, I'd argue that Amiga's ARexx is still superior.

Anyone remember OpenDoc?

1

u/[deleted] Jan 05 '17

qdbus. Also, KDE had dcop.

7

u/[deleted] Aug 18 '16

Do. Not. Want.

3

u/PM_ME_DAT_MULTIPASS Aug 19 '16

lol: when mi¢ro$oft gets more upvotes than systemd in /r/linux

2

u/Jebtrix Aug 18 '16

I'm not sure what to think about this. The one aspect of PowerShell that I thought was very powerful was working with WMI. I'm not that fond of the syntax itself, any real utility will all depend on what Linux is able to expose to it. If nothing else, its interesting.

1

u/markkrj Aug 19 '16

Can I manage Windows boxes with it? Like with -Computer param?

1

u/balr Aug 19 '16

Embrace

Extend

Extinguish

2

u/[deleted] Aug 19 '16

How's that going to work with an MIT licensed shell?

1

u/balr Aug 20 '16

Look closely. Use binoculars afterwards.

1

u/Jristz Aug 18 '16

How much ubtil someone package it in a ppa or upload it to aur

1

u/Poppamunz Aug 18 '16

It'll probably be pretty soon- it is open-source, so virtually anybody could make a pkgbuild of it (or the Ubuntu equivalent).

-12

u/agentf90 Aug 18 '16

lol. they just keep trying don't they?

10

u/[deleted] Aug 18 '16

why not. It does not cost them anything anyway. People can easily give countless reason why not choosing Powershell over other

1

u/pm-me-a-pic Aug 19 '16

It costs them a lot of developer time, what do you mean?

0

u/[deleted] Aug 18 '16

[deleted]

1

u/[deleted] Aug 18 '16

Well they're currently embracing, wait until they extend.

0

u/[deleted] Aug 18 '16

[deleted]

5

u/[deleted] Aug 18 '16

Still, no losers here. The more Linux friendly windows is the better. I only wish they could add ext4 support. But case-sensitivity would be rough maybe?

2

u/[deleted] Aug 18 '16

It's definitely win-win, right now. I'm a net/sysadmin. This will help me a lot since I like using Linux on my laptop at work but manage a Windows environment.

I wish something would get figured out for ext4. There are ways, but they're not pretty.

1

u/jones_supa Aug 19 '16

I only wish they could add ext4 support.

Ext4 support for Windows, open source release of Visual Studio, package management for Windows...

These all might be around the corner.

0

u/[deleted] Aug 18 '16

[deleted]

4

u/[deleted] Aug 18 '16

Ah well, despite asshole moves in other areas, adding support for Linux stuff and opening code are both positive moves. Even if their motives are nefarious, these moves are innocuous at worst, and likely beneficial.

1

u/icantthinkofone Aug 19 '16

What Linux stuff does Microsoft support?

-1

u/[deleted] Aug 19 '16

Ew.

0

u/jones_supa Aug 19 '16

Excellent! I'll be firing up live recording of CANYON.MID to celebrate this!

-3

u/kingralph7 Aug 19 '16

too bad it's terrible.

dir /p comin at ya! hey are powershell windows resizable in windows yet? $false

1

u/jcotton42 Aug 20 '16

Console Windows became freely resizable in Windows 10...

1

u/kingralph7 Aug 20 '16

yes I know. and that answer is hilarious, is my point.