Skip to content

🚸 All cmdlets with module/model parameters should support ValueFromPipelineByPropertyName and ValueFromPipeline #729

@FH-Inway

Description

@FH-Inway

There are multiple cmdlets that have a (often mandatory) Module and/or Model parameter. Some of those cmdlets decorate those parameters with the ValueFromPipelineByPropertyName and/or ValueFromPipeline attributes. This makes the cmdlets easy to use in combination with other cmdlets that return a list of modules, such as Get-D365Module.

To provide a consistent user experience, it would be nice if all cmdlets support the ValueFromPipeline* options.

I.e. one can do
Get-D365Module -Name "MyPrefix*" | Invoke-D365ModuleFullCompile
but not
Get-D365Module -Name "MyPrefix*" | Invoke-D365ProcessModule -ExecuteCompile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions