Modify Parameters to use parameter sets
pfaffle opened this issue · comments
Craig Meinschein commented
Alter the parameters so they use PowerShell's built-in parameter set functionality, rather than adding manual logic to check if one is passed or the other but not both.
http://blogs.msdn.com/b/powershell/archive/2008/12/23/powershell-v2-parametersets.aspx