Obtaining parameters with default value specified

Is there an more appropriate way to go about getting a list of parameters and their values if that parameter is defined with a default value but not “bound” ?

for an example see: https://gist.github.com/lpaglia/6cfa16e1a6f23b4ba64b

Depends on how many parameters and parameter sets we’re talking about. For the simple example with only one, I’d just do this:

$PSBoundParameters['Members'] = $Members

If it’s a complex function with lots of sets and parameters, your way looks pretty good.