Skip to content

Recommend parameter rename for VcList parameter in any Cmdlet that calls Test-VcListObject #155

@BronsonMagnan

Description

@BronsonMagnan

Expected Behavior

Because the parameter is named VcList, we expect to be able to supply the output of Get-VcList to the parameter

Current Behavior

The parameter requires the output object of 'Save-VCRedist', which is the same date with an additional property of Path included.

Failure Information (for bugs)

Cmdlets fail on private function Test-VcListObject validator.

Steps to Reproduce

Do what is intuitive

Context

In most PowerShell modules, the standard typically is a Parameter Name that matches the name of a defined Noun in the module, should accept that data type generated by the Get-Noun cmdlet if one is present.

Recommendations

Rename VcList parameter in cmdlets that want the input of Save-VCRedist.
Additionally implement a cmdlet that can generate this object array without having to re-download the redists.

Metadata

Metadata

Assignees

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