Windows Vista Forums

Get-GuiHelp problem
  1. #1


    Jeff Guest

    Get-GuiHelp problem

    I downloaded the powershell.chm file, and setup the Get-GuiHelp command.
    The problem I'm having is that it shows the help information in the left
    hand listing, but the details all show: "address is not valid"



    Why won't the detailed information show ?

    Jeff

      My System SpecsSystem Spec

  2. #2


    Shay Levi Guest

    Re: Get-GuiHelp problem


    See http://support.microsoft.com/kb/902225

    -----
    Shay Levi
    $cript Fanatic
    http://scriptolog.blogspot.com
    Hebrew weblog: http://blogs.microsoft.co.il/blogs/scriptfanatic



    > I downloaded the powershell.chm file, and setup the Get-GuiHelp
    > command. The problem I'm having is that it shows the help information
    > in the left hand listing, but the details all show: "address is not
    > valid"
    >
    > Why won't the detailed information show ?
    >
    > Jeff
    >


      My System SpecsSystem Spec

  3. #3


    Jeff Guest

    Re: Get-GuiHelp problem

    thanx, that worked out



    Shay Levi wrote:

    >
    > See http://support.microsoft.com/kb/902225
    >
    > -----
    > Shay Levi
    > $cript Fanatic
    > http://scriptolog.blogspot.com
    > Hebrew weblog: http://blogs.microsoft.co.il/blogs/scriptfanatic
    >
    >
    >

    >> I downloaded the powershell.chm file, and setup the Get-GuiHelp
    >> command. The problem I'm having is that it shows the help information
    >> in the left hand listing, but the details all show: "address is not
    >> valid"
    >>
    >> Why won't the detailed information show ?
    >>
    >> Jeff
    >>
    >
    >

      My System SpecsSystem Spec

  4. #4


    Keith Hill [MVP] Guest

    Re: Get-GuiHelp problem

    "Jeff" <jeff@xxxxxx> wrote in message news:ukqzk$9RIHA.4196@xxxxxx

    > I downloaded the powershell.chm file, and setup the Get-GuiHelp command.
    BTW I found the Get-GuiHelp function to violate the DRY principle so I tweaked it:

    # Contents of Get-GuiHelp.ps1 script file

    param($topic)

    function LaunchPowerShellHelp($topicPath) {
    hh.exe "mk:@MSITStore:$PSHome\PowerShell.chm::/$topicPath"
    }

    if (!$topic) {
    LaunchPowerShellHelp 'test.htm'
    }
    elseif ($topic.contains("about_")) {
    LaunchPowerShellHelp "about/${topic}.help.htm"
    }
    elseif ($topic.contains("-")) {
    LaunchPowerShellHelp "cmdlets/${topic}.htm"
    }
    else {
    if ($topic.contains(' ')) {
    $topic = $topic -replace ' ',''
    }
    # VBScript to PowerShell translation section
    LaunchPowerShellHelp "vbscript/${topic}.htm"
    }

    This function assumes you have copied the PowerShell.chm file into the $pshome dir.

    --
    Keith

      My System SpecsSystem Spec

Get-GuiHelp problem

Similar Threads
Thread Thread Starter Forum Replies Last Post
the problem with ndis.sys Blue Screen of Death problem solved? liketofindoutwhy Vista General 6 24 May 2009
Re: Windows Mail Attachement Problem and Adobe Player Problem with IE8 Rainald Taesler Vista mail 14 17 May 2009
Generic McAfee Problem Message in Vista Problem Reports cyberbuff53 Vista performance & maintenance 0 01 Dec 2007
fixed unable to delete email problem, now I have new problem j2 Vista mail 19 29 Mar 2007
Vista Upgrade Problem - Windows Explorer Loop problem Steve S Vista installation & setup 0 27 Jun 2006