Open markcowl opened 5 years ago
Need configuration to declare this and changes to the cmdlet generator.
p3
@JimMoyle from Desktop Virtualization team is also wanting to support this. We should re-evaluate it. cc @dolauli
From our PowerShell standards docs:
Good cmdlet design recommends that the most-used parameters be declared as positional parameters so that the user does not have to enter the parameter name when the cmdlet is run.
Any parameter called 'Name' is often a good candidate, as are parameters that take in an array rather than single property.
Our docs say, as mentioned above that we shouldn't have more than 4 positional parameters total.