I'm not sure how to phrase the question, but this is what I'm looking for:
I want to create a VB.Net application that can 'insert' itself in a PowerShell pipe as receiver, and optionally also as a producer. In other words, I want to do this:
Some-PowerShell-CmdLet | My-Program
and optionally:
Some-PowerShell-CmdLet | My-Program | Other-PowerShell-CmdLet
I would very much appreciate it if you can point out the relevant documentations and/or tutorials.