Generics in PowerShell
This is not something you can easily do. You will have to resort to Reflection to make that work. See this blog post for more information.
This is not something you can easily do. You will have to resort to Reflection to make that work. See this blog post for more information.