Page 1 of 1

[PSS2016]Primal Sense für ItemTypes

Posted: Thu Nov 10, 2016 8:25 am
by Bosparan
Hi guys,

well, while I'm at it, here's another thing that could be done with (or 'to') Primal Sense:

When creating a new Item with the New-Item cmdlet, I usually need to specify an ItemType. Wouldn't it be comfortable to get a list of options for that?
Problem is, you can't really know which will be available at the time, since the current path is unknown. Or at least, PSS cannot know this. The scripter usually is very well aware of the provider s/he'll be using. That said, you could provide a list of all options, with a second column specifying the Provider it is for.

The only issue with that so far is that I at least have not yet found a way to dynamically read the available dynamic options for the available providers. While doing this statically might not be the most elegant solution, I certainly would appreciate having it.

Cheers,
Bosparan