"Get-Help <Cmdlet-name> -Online" is not showing the most updated online help web page (PS v3.0) in my language. - by aljodAv

Status : 

 


2
0
Sign in
to vote
ID 775619 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 1/2/2013 11:04:02 AM
Access Restriction Public

Description

In PowerShell v3.0, the commands like

    Get-Help Sort-Object -Online
    Get-Help Add-Member -Online

are showing web pages for PS v2.0, and not for PS v3.0, in my language: pt-BR

Running this command

    (Get-Command Sort-Object).HelpUri

shows this relative URI

    http://go.microsoft.com/fwlink/?LinkID=113403

which is translated into

    http://technet.microsoft.com/pt-BR/library/dd347688.aspx

which is equivalent to

    http://technet.microsoft.com/en-US/library/dd347688.aspx

The english page above is for PS v2.0.

This happens for the many Cmdlet names I tried (except for those that only exist in PS v3.0).

In brief:

(Get-Command Sort-Object).HelpUri
    http://go.microsoft.com/fwlink/?LinkID=113403
    http://technet.microsoft.com/pt-BR/library/dd347688.aspx
    http://technet.microsoft.com/en-US/library/dd347688.aspx

(Get-Command Add-Member).HelpUri
    http://go.microsoft.com/fwlink/?LinkID=113280
    http://technet.microsoft.com/pt-BR/library/dd347695.aspx
    http://technet.microsoft.com/en-US/library/dd347695.aspx

(Get-Command Get-ScheduledJob).HelpUri
    http://go.microsoft.com/fwlink/?LinkID=223923
    http://technet.microsoft.com/library/hh849784.aspx

This last one (for Get-ScheduledJob) is correct, because it only exists in PS v3.0.
Sign in to post a comment.
Posted by aljodAv on 4/3/2013 at 12:44 PM
I posted the explanation with a nice format.
But now I see the text completely messed up.
I guess someone/something did it, and I cannot correct it anymore.