I'm trying to create a cmdlet that calls Powershell function. Can this be done?
Idea is to have static cmdlet that enumerates a set of data and then calls defined function to do something for each item. I can always copy - paste a base template for the enumaration part, but it really easy to make errors while making modification to parameters etc.