Hi
I worked with your DCToolbox module and today I came across the PrefixFilter parameter which I really like.
I assume that lots of folks would also appreciate a SuffixFilter parameter.
I had a glance at the code and I think I could manage to create a pull request on that.
One "struggle" that I can think of is that most probably this would result in different Parameter Sets, so that you can only choose either PrefixFilter or SuffixFilter.
Maybe the DefaultParameterSetName with PrefixFilter, the additional SuffixFilter.
Hi I worked with your DCToolbox module and today I came across the
PrefixFilter
parameter which I really like. I assume that lots of folks would also appreciate aSuffixFilter
parameter. I had a glance at the code and I think I could manage to create a pull request on that. One "struggle" that I can think of is that most probably this would result in different Parameter Sets, so that you can only choose eitherPrefixFilter
orSuffixFilter
.Maybe the DefaultParameterSetName with
PrefixFilter
, the additionalSuffixFilter
.See also: Adding Multiple Parameter Sets to a PowerShell Function by Mike F. Robbins for further reference.