Hacker News new | past | comments | ask | show | jobs | submit login

> Yeah, but streams of text are standard: every programming language can handle text streams.

What makes you think PowerShell can't handle streams of text? You'll get an array of System.String objects, one for each line, to do with as you please.

> PowerShell objects are PowerShell specific.

PowerShell objects are .NET objects living in the .NET runtime, and can be passed to any other .NET code. Yes, some object types live in the PowerShell namespace, because they expose PowerShell-specific functionality. But, for instance, `ls` returns System.IO.DirectoryInfo and System.IO.FileInfo objects, which is exactly what you would use in C# or VB.NET or managed C++ or F# to represent the same information.




It CAN, but that's not its MO.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: