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 - adding ABOUT_ help

Reply
 
Old 01-28-2007   #1 (permalink)
klumsy@xtra.co.nz


 
 

adding ABOUT_ help

i know how to add the maml help files to my snapins etc, but i don't
know how to add the plain text about_ help files other than copying
them into the relevant powershell directory directly..

is there any other way to register these help files so that powershell
and get-help sees them?


My System SpecsSystem Spec
Old 01-28-2007   #2 (permalink)
Andrew Watt [MVP]


 
 

Re: adding ABOUT_ help

On 27 Jan 2007 23:47:22 -0800, klumsy@xtra.co.nz wrote:

>i know how to add the maml help files to my snapins etc, but i don't
>know how to add the plain text about_ help files other than copying
>them into the relevant powershell directory directly..
>
>is there any other way to register these help files so that powershell
>and get-help sees them?


Hi,

Take a look in C:\WINDOWS\system32\windowspowershell\v1.0. You'll see
lots of the text files which underly about_something Help.

Just save a text file with the correct extension.

Andrew Watt MVP
Author Professional Windows PowerShell (Wrox)
My System SpecsSystem Spec
Old 01-30-2007   #3 (permalink)
Krishna Vutukuri[MSFT]


 
 

Re: adding ABOUT_ help

Hi Klumsy,

about_help topics are handled much the same way as the maml help files. The
following blog will help you understand how the maml help file is loaded:

http://blogs.msdn.com/powershell/arc...25/583247.aspx

When help engine tries to load help file for a cmdlet, the help engine looks
for the help file relative to MshSnapIn "ApplicationBase" directory.
Remember this ApplicationBase is added to the registry during MshSnapIn
installation phase.

If you place your about help topic in your SnapIn's Application base
directory, then it will be searched and loaded if found.

--
Thanks
Krishna[MSFT]
Windows PowerShell Team
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.


"Andrew Watt [MVP]" <SVGDeveloper@aol.com> wrote in message
news:q5tor2ppm3ifviea5vdud5nt86b0clk8v1@4ax.com...
> On 27 Jan 2007 23:47:22 -0800, klumsy@xtra.co.nz wrote:
>
>>i know how to add the maml help files to my snapins etc, but i don't
>>know how to add the plain text about_ help files other than copying
>>them into the relevant powershell directory directly..
>>
>>is there any other way to register these help files so that powershell
>>and get-help sees them?

>
> Hi,
>
> Take a look in C:\WINDOWS\system32\windowspowershell\v1.0. You'll see
> lots of the text files which underly about_something Help.
>
> Just save a text file with the correct extension.
>
> Andrew Watt MVP
> Author Professional Windows PowerShell (Wrox)



My System SpecsSystem Spec
Old 01-30-2007   #4 (permalink)
klumsy@xtra.co.nz


 
 

Re: adding ABOUT_ help

in my case i'm writing the host, and not loading a snapin, my cmdlets
are not in a snapin ,but added to the runspace configuration
dynamically..

i just want to somehow publish my about_ help files without having to
copy them into MS's directory

My System SpecsSystem Spec
Old 02-01-2007   #5 (permalink)
Jeffrey Snover [MSFT]


 
 

Re: adding ABOUT_ help

You can put them in any SNAPIN directory.
For instance PSCX is installed in C:\Program Files\PowerShell Community
Extensions
and there is a file there: about_pscx.help.txt
which you can get by typing: Help about_pscx

--
Jeffrey Snover [MSFT]
Windows PowerShell Architect
Microsoft Corporation
This posting is provided "AS IS" with no warranties, no confers rights.
Visit the Windows PowerShell Team blog at:
http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at:
http://www.microsoft.com/technet/scr.../hubs/msh.mspx

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Adding an ACE to an ACL VB Script
Adding a second HD Vista hardware & devices
adding ram Vista hardware & devices
Adding Promise FastTrack 378 Adding Vista hardware & devices
Adding Promise FastTrack 378 Adding Vista hardware & devices


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