Post

I've been experimenting with PSObject binary encodings to replace CLIXML - CBOR and Protobuf are both great candidates, with significantly smaller size, but also much faster encoding and decoding performance! Which one would you like to be supported natively in PowerShell?

CBOR for me, and gRPC needn't change that, since it defaults to Protobuf but carries other formats too. Would PSRemoting over gRPC pass objects as an opaque blob, or map them into proper messages?

I could use gRPC as the protocol envelope for MS-PSRP, passing CBOR-encoded PowerShell objects, but since gRPC is using Protobuf, it might be nice to stick to Protobuf at all layers. I would prefer CBOR too, I'm undecided

0 reposts2 likes

No replies yet.