Nested ParameterSets

Welcome Forums General PowerShell Q&A Nested ParameterSets

This topic contains 0 replies, has 1 voice, and was last updated by  Forums Archives 7 years ago.

  • Author
  • #6011

    Points: 0
    Rank: Member

    by Ritmo2k at 2013-02-03 17:08:44

    I have several ParameterSets and need to develop nested ParameterSets within.
    The alternative is outside the param block to check all the variations, but this is tedious.

    Can such a technique be accomplished?


    by DonJ at 2013-02-04 10:34:47

    No. There's no such thing as a nested parameter set. Each parameter belongs to one or more parameter sets, and that's it.

The topic ‘Nested ParameterSets’ is closed to new replies.