4 ms·
And then I guess the shell itself has mechanisms to easily attach or register new commandlets, to allow for easily add custom object processing? I really like
by j1elo 5y ago
And then I guess the shell itself has mechanisms to easily attach or register new commandlets, to allow for easily add custom object processing?
I really like the consistency that those commands have: ConvertFrom-<ConverterFormat>.
No built in converter for the format you need? I'm just speculating here, but I guess you just need to implement this or that Interface and there you go.
- godtoldmetodoit 5y agoYou can define your own function and use it in your pipeline yes. You can have your function take pipeline input just like the built in cmdlets.
- vips7L 5y agoYes you can write your own cmdlets in either C# or powershell that you can install via modules [0] You can also just write a function in your profile. [0] https://docs.microsoft.com/en-us/powershell/scripting/developer/module/writing-a-windows-powershell-module?view=powershell-7.1 https://docs.microsoft.com/en-us/powershell/scripting/develo...