Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

How does PowerShell use the help.xml files?

Closed Thread
 
Thread Tools Display Modes
Old 11-15-2006   #1 (permalink)
Andrew Watt [MVP]
Guest


 

How does PowerShell use the help.xml files?

When I looked at the structure of the various help.xml files in
PowerShell I jumped to the conclusion that their content was used when
I typed
get-help some-command

But if I edit and save a help.xml file PowerShell still displays the
original content.

The same happens if I close PowerShell and start again.

Is the original cached somewhere? Would I need to reboot to see
changes?

Just curious.

Andrew Watt MVP
Old 11-15-2006   #2 (permalink)
Krishna Vutukuri[MSFT]
Guest


 

Re: How does PowerShell use the help.xml files?

Hi Andrew,

The article here talks about how to create help content:
http://blogs.msdn.com/powershell/arc...dlet-Help.aspx

If you edit a help file, a new PowerShell instance will load your changes.
I will write a blog entry about the inner workings of help system very soon.

--

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:8eaml25h7nnacm47nn1puiluf918dmqab3@4ax.com...
> When I looked at the structure of the various help.xml files in
> PowerShell I jumped to the conclusion that their content was used when
> I typed
> get-help some-command
>
> But if I edit and save a help.xml file PowerShell still displays the
> original content.
>
> The same happens if I close PowerShell and start again.
>
> Is the original cached somewhere? Would I need to reboot to see
> changes?
>
> Just curious.
>
> Andrew Watt MVP



Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Powershell and ini files Selko PowerShell 22 06-07-2008 03:41 PM
Files created by Powershell are over 2X bigger than files created bytext editor or cmd.exe. tom.luxury PowerShell 4 05-27-2008 05:06 AM
Renumbering Files In Powershell? Barry S. PowerShell 3 10-27-2007 12:06 AM
Processing xml log files in PowerShell Mike Blake-Knox PowerShell 5 08-23-2007 11:00 AM
Powershell script files Mike Blake-Knox PowerShell 1 06-07-2007 10:20 AM








Vistax64.com 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 2005-2008

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 47 48 49 50