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

RB

Vista - How does one write "help" for a PowerShell provider?

Reply
 
09-01-2007   #1
Marco Shaw


 
 

How does one write "help" for a PowerShell provider?

How does one write PowerShell integrated "help" documentation for a
provider?

I understand the concept for cmlets (and know of the help editor tool),
but help for a provider eludes me.

Marco

--
----------------
PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com

My System SpecsSystem Spec
09-01-2007   #2
RichS


 
 

RE: How does one write "help" for a PowerShell provider?

Interesting question. Do any of the current providers have integrated help?

One possibility would be some about_ files
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"Marco Shaw" wrote:
Quote:

> How does one write PowerShell integrated "help" documentation for a
> provider?
>
> I understand the concept for cmlets (and know of the help editor tool),
> but help for a provider eludes me.
>
> Marco
>
> --
> ----------------
> PowerGadgets MVP
> http://www.powergadgets.com/mvp
>
> Blog:
> http://marcoshaw.blogspot.com
>
My System SpecsSystem Spec
09-01-2007   #3
Keith Hill


 
 

Re: How does one write "help" for a PowerShell provider?

"RichS" <RichS@xxxxxx> wrote in message
news9BEBAC9-0D07-4364-831D-4E5C4F777E3C@xxxxxx
Quote:

> Interesting question. Do any of the current providers have integrated
> help?
Yes, try man filesystem or man registry. For PSCX, we tracked down the
provider help in the PowerShell files and copied their format. Search the
$PSHome\<en-US or your locale>\System.Management.Automation.dll-Help.xml for
<providerHelp.

--
Keith

My System SpecsSystem Spec
09-01-2007   #4
Kiron


 
 

Re: How does one write "help" for a PowerShell provider?

There are help docs for PowerShell Providers.

Get-PSProvider
Help <ProviderName>

--
Kiron
My System SpecsSystem Spec
09-01-2007   #5
RichS


 
 

Re: How does one write "help" for a PowerShell provider?

Thanks for the update. I'd never actually gone looking for help on the
providers
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"Keith Hill" wrote:
Quote:

> "RichS" <RichS@xxxxxx> wrote in message
> news9BEBAC9-0D07-4364-831D-4E5C4F777E3C@xxxxxx
Quote:

> > Interesting question. Do any of the current providers have integrated
> > help?
>
> Yes, try man filesystem or man registry. For PSCX, we tracked down the
> provider help in the PowerShell files and copied their format. Search the
> $PSHome\<en-US or your locale>\System.Management.Automation.dll-Help.xml for
> <providerHelp.
>
> --
> Keith
>
My System SpecsSystem Spec
Reply

RB


Thread Tools


Similar Threads for: How does one write "help" for a PowerShell provider?
Thread Forum
Cannot write to drive "Media is write protected" Vista hardware & devices
Query length Limitations on Win2K Using "ADO" "Active Directory Provider" ... Error -2147217900 VB Script
"Provider cannot be found. It may not be properly installed Error --2146824582" Network & Sharing
Backup Fails "The shadow copy provider had an unexpected error..." Vista General


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