I have a bunch of EXEs written in C# which carry out useful utility functions.
I would love to make the functionality in them available to PowerShell.
Ideally PowerShell should be able to detect that the exe I'm about to run contains PowerShell commands and autofill my parameters (and accept objects from the response). But failing that, having the ability to build a single artefact and have it work both as an exe and a PS Module would make life a lot easier.
I have a bunch of EXEs written in C# which carry out useful utility functions.
I would love to make the functionality in them available to PowerShell.
Ideally PowerShell should be able to detect that the exe I'm about to run contains PowerShell commands and autofill my parameters (and accept objects from the response). But failing that, having the ability to build a single artefact and have it work both as an exe and a PS Module would make life a lot easier.