Skip to content

Suggestion: Powershell should be able to Import-Module from an exe #3102

@andrewducker

Description

@andrewducker

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-DuplicateThe issue is a duplicate.Resolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Enginecore PowerShell engine, interpreter, and runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions