2 ms·
Not quite. PowerShell input and output are .NET objects - not just data, but also behavior. This requires both sides of the pipe to agree on the object model an
by int_19h 8y ago
Not quite. PowerShell input and output are .NET objects - not just data, but also behavior. This requires both sides of the pipe to agree on the object model and the execution environment.
JSON (or another pure data serialization format) is much better in that regard, because then you only need to agree on some basic data structures at the boundary.