I have a dynamic parameter accepting a validateset which comes from a config file for my application.
That parameter ($Instance) is used to select a list of application nodes so I know where I need to deploy an object to. So a user would select their value for $Instance and thats stored in $PSBoundParameters for me to access later.
With the $Instance, I’m looking to use that to run a "| Where-Object $_.Instance -eq $Instance " where before the pipe I have a function that returns an object which has Instance as a property.
Essentially, I need to use the value from one dynamic parameter to help me prepare the collection list for another dynamic parameter in the same dynamic parameter block…
Is what I’m trying to do possible?