Why/Will there be a Get_PscxFunction?

Topics: User Forum
Oct 26, 2007 at 10:12 PM
Granted this is a small gripe but you have functions for Alias, Cmdlets, Variables, Drives why not Functions?
Oct 27, 2007 at 6:24 AM
The primary reason is that the Function provider doesn't have a Description property (which would be nice). That is how we distinguish our aliases and variables. I would like to address this. While I can dynamically add a Description field to a FunctionInfo object, I haven't figured out how to put that object back into the function: drive. Set-Item doesn't seem to work. Thanks for the feedback. I'll keep noodling on this because I would like to find a solution.
Nov 6, 2007 at 9:18 PM
hey Keith,

we can probably set up a scriptmethod in the typedata for FunctionInfo objects that does a lookup from an external xml file for our descriptions.

- Oisin