#TodayILearned that you can use a Powershell class to implement a dynamic ValidateSet for a parameter

My excitement at discovering this will possibly not be shared by everyone on Twitter

docs.microsoft.com/en-us/pow…