View Single Post
Old 03-11-2008   #3 (permalink)
mario


 
 

Re: implementing get-item

hi marco..

apparently powershell doens't like xpath expressions .... so, I had to
change the way referencing th items that I want to get...

currently I am building a psdrive for bts but is a lot of work ... there are
many ways and many things to implement :P

regards.!

"Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message
news:edTHIloaIHA.4180@xxxxxx
Quote:

> mario wrote:
Quote:

>> hi...
>>
>> is possible to implement a provider that support operations like this?
>>
>> get-item mydrive:books['name']\author
>>
>> I am trying to implement it overriding methods like GetItem,
>> GetItemDynamicParameters or GetPropertyDynamicParameters but the
>> execution always return this error
>>
>> Get-Item : Cannot retrieve the dynamic parameters for the cmdlet.
>> Provider execution stopped because the provider does not support this
>> operation.
>>
>> any suggestion?
>
> Any luck? I haven't abandoned you, just haven't had the time to look into
> it.
>
> --
> Microsoft MVP - Windows PowerShell
> http://www.microsoft.com/mvp
>
> PowerGadgets MVP
> http://www.powergadgets.com/mvp
>
> Blog:
> http://marcoshaw.blogspot.com
My System SpecsSystem Spec