Re:Windows 8 Plans Leaked: Numerous Details Revealed
by jules on Tuesday June 29, 2010 @08:16AM
(#1471122)
I'm not sure how they do it and I've only used the basic features of powershell. That said, commands in powershell are .NET classes that define a method ProcessRecord. Inside this they can call WriteObject to write an object to the output stream. So it seems that they can just implement this without any parsing by passing objects around in the .NET runtime.
Also, when I pipe an object to another program, can the receiver call methods on it and are the changes visible to the sender?