Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - Suggestion: Cmdlet PSProvider

Reply
 
Old 06-09-2006   #1 (permalink)
Alex K. Angelopoulos [MVP]


 
 

Suggestion: Cmdlet PSProvider

https://connect.microsoft.com/feedba...8563&SiteID=99

I believe a Cmdlet PSProvider is a valuable potential addition to the
PowerShell core product. Implementation should support invocation by path
and use of Get-Item and Get-ItemProperty. This would give us the following
benefits:
(1) It would be possible to explicitly invoke a cmdlet by path,
short-circuiting spurious aliasing or clashing function names. If the
standard cmdlet drive is named 'cmdlet', you could use
cmdlet:\Get-Command
and guarantee you are getting the Get-Command cmdlet and not an alias or a
function which has been given that name.

(2) The technique is intuitive, extending explicit path specification from
the FileSystem.

(3) The Item treatment provides a possible avenue for constructing cmdlet
invocations programmatically in an intuitive way, by getting the item,
setting property values, and then executing it.

(4) If cmdlets ever change significantly in different versions, it allows a
logical way for providing access to legacy versions in distinct cmdlet
provider containers.



My System SpecsSystem Spec
Old 06-10-2006   #2 (permalink)
dreeschkind


 
 

RE: Suggestion: Cmdlet PSProvider

Hi Alex,

I posted quite similar suggestions and some other (lengthy) thoughts about
PowerShell providers/drives some time ago in the old NG.
I don't know if you missed them (you have been in that thread too), so here
are the links again:

http://www.microsoft.com/communities...c6e&sloc=en-us

http://www.microsoft.com/communities...2af&sloc=en-us

I don't know whether MS or anyone else noticed or liked my ideas, because
none posted feedback on my suggestions. Unfortunately, I didn't have the time
yet to transform all my thoughts into feature suggestions for the connect
site. So, please feel free to file new feature requests on things you like as
well, as I'm quite bussy at the moment. I will then vote for them of course.


--
greetings
dreeschkind


"Alex K. Angelopoulos [MVP]" wrote:

> https://connect.microsoft.com/feedba...8563&SiteID=99
>
> I believe a Cmdlet PSProvider is a valuable potential addition to the
> PowerShell core product. Implementation should support invocation by path
> and use of Get-Item and Get-ItemProperty. This would give us the following
> benefits:
> (1) It would be possible to explicitly invoke a cmdlet by path,
> short-circuiting spurious aliasing or clashing function names. If the
> standard cmdlet drive is named 'cmdlet', you could use
> cmdlet:\Get-Command
> and guarantee you are getting the Get-Command cmdlet and not an alias or a
> function which has been given that name.
>
> (2) The technique is intuitive, extending explicit path specification from
> the FileSystem.
>
> (3) The Item treatment provides a possible avenue for constructing cmdlet
> invocations programmatically in an intuitive way, by getting the item,
> setting property values, and then executing it.
>
> (4) If cmdlets ever change significantly in different versions, it allows a
> logical way for providing access to legacy versions in distinct cmdlet
> provider containers.
>
>
>

My System SpecsSystem Spec
Old 06-15-2006   #3 (permalink)
Alex K. Angelopoulos [MVP]


 
 

Re: Suggestion: Cmdlet PSProvider

I've got a list of about 20 bugs/features/etc. that I haven't cross-checked
in Connect myself. When I get the chance - probably next week at earliest -
I may just toss them out here in a single mega-post to see if anyone else
has raised them before I post to Connect.

"dreeschkind" <dreeschkind@discussions.microsoft.com> wrote in message
news:B1F30824-C72E-431D-A5AB-3729C17A2A7F@microsoft.com...
> Hi Alex,
>
> I posted quite similar suggestions and some other (lengthy) thoughts about
> PowerShell providers/drives some time ago in the old NG.
> I don't know if you missed them (you have been in that thread too), so
> here
> are the links again:
>
> http://www.microsoft.com/communities...c6e&sloc=en-us
>
> http://www.microsoft.com/communities...2af&sloc=en-us
>
> I don't know whether MS or anyone else noticed or liked my ideas, because
> none posted feedback on my suggestions. Unfortunately, I didn't have the
> time
> yet to transform all my thoughts into feature suggestions for the connect
> site. So, please feel free to file new feature requests on things you like
> as
> well, as I'm quite bussy at the moment. I will then vote for them of
> course.
>
>
> --
> greetings
> dreeschkind
>
>
> "Alex K. Angelopoulos [MVP]" wrote:
>
>> https://connect.microsoft.com/feedba...8563&SiteID=99
>>
>> I believe a Cmdlet PSProvider is a valuable potential addition to the
>> PowerShell core product. Implementation should support invocation by path
>> and use of Get-Item and Get-ItemProperty. This would give us the
>> following
>> benefits:
>> (1) It would be possible to explicitly invoke a cmdlet by path,
>> short-circuiting spurious aliasing or clashing function names. If the
>> standard cmdlet drive is named 'cmdlet', you could use
>> cmdlet:\Get-Command
>> and guarantee you are getting the Get-Command cmdlet and not an alias or
>> a
>> function which has been given that name.
>>
>> (2) The technique is intuitive, extending explicit path specification
>> from
>> the FileSystem.
>>
>> (3) The Item treatment provides a possible avenue for constructing cmdlet
>> invocations programmatically in an intuitive way, by getting the item,
>> setting property values, and then executing it.
>>
>> (4) If cmdlets ever change significantly in different versions, it allows
>> a
>> logical way for providing access to legacy versions in distinct cmdlet
>> provider containers.
>>
>>
>>



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Re: what is psprovider ? PowerShell
Quest AD cmdlet -what is the cmdlet to remove computer object PowerShell
Invoking Cmdlet Get-Location from cmdlet,cant get Currnt Directory PowerShell
Suggestion: I submitted a suggestion for a Generic Soap Cmdlet via Connect. Please check it out and vote. PowerShell
Bugs with Registry psProvider PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46