Looking to create a custom ValidateSet basic on the contents of an xml. This is so when users run a Script they are presented with a pre-filled dropdown of the only available choices.
I have tried a few approches but cannot get the ValidateSet to dynamically fill.
I have currently created a Module with a function that does the action.
When I let it run the function returs the results I want. Is this pssible and any ideas on how to do this?