Skip to content

Get-Help Clear-Host -Online gives broken link #7795

Closed

Description

@YogurtTheHorse

Steps to reproduce

get-help clear-host -Online

Expected behavior

Should give proper links for help

Actual behavior

Gives https://go.microsoft.com/fwlink/?LinkID=225747, which produces 404

Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.1.0
PSEdition                      Core
GitCommitId                    6.1.0
OS                             Linux 4.15.0-34-generic #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Running on Elementary Loki

Activity

  1. added
    WG-Interactive-HelpSystem
    Issue-Bug
    on Sep 17, 2018
  2. YogurtTheHorse commented on Sep 18, 2018

    @YogurtTheHorse
    Author

    I just found, that any Get-Help output produces broken links :(
    So Get-Help Get-Process -Online opens https://go.microsoft.com/fwlink/?linkid=821590

  3. doctordns commented on Sep 21, 2018

    @doctordns
    Collaborator

    Both Get-Help Clear-Host and Get-Help Clear-Host -Detailed work here.

    What does NOT work is using -Online.

    Using -Online with ANY Get-Help command fails with a 404 error. It has been reported. But it's still broken.

    I think the PowerShell team area aware - but I'll tag Joey just in case!

    Joey Aiello (@joeyaiello)

  4. changed the title [-]`Get-Help Clear-Host` gives broken links[/-] [+]`Get-Help Clear-Host -Online` gives broken link[/+] on Sep 21, 2018
  5. YogurtTheHorse commented on Sep 21, 2018

    @YogurtTheHorse
    Author

    Yeah. Problem in -Online. Edited, so it will be clear

  6. doctordns commented on Sep 21, 2018

    @doctordns
    Collaborator

    Thanks for the update.

    The -ONLINE issue is known about. It seems to affect ANY call to Get-Help that uses -online.

  7. YogurtTheHorse commented on Sep 21, 2018

    @YogurtTheHorse
    Author
  8. doctordns commented on Sep 21, 2018

    @doctordns
    Collaborator

    Interestingly - this bug does NOT exist in PowerShell v6.

  9. MaximoTrinidad commented on Sep 21, 2018

    @MaximoTrinidad

    This is a known issue and seems it will take some time to fix as they are doing some updates.
    Makes Microsoft Online Docs Great Again!!

    Patience Is Golden!!

  10. doctordns commented on Sep 21, 2018

    @doctordns
    Collaborator

    I agree, but only up to a point. That it works in 6.1 but fails in 5.1 is curious.

    A blog post on the PowerShell blog might help.

  11. YogurtTheHorse commented on Sep 21, 2018

    @YogurtTheHorse
    Author

    But I use 6.1 and bug exists in my configuration

  12. MaximoTrinidad commented on Sep 21, 2018

    @MaximoTrinidad

    Hi Thomas Lee (@doctordns) (Thomas)

    Yeah! You're right. But, they are handling it.
    :)

  13. KalleOlaviNiemitalo commented on Jun 7, 2020

    @KalleOlaviNiemitalo

    Get-Help Clear-Host -Online in PowerShell 7.1.0-preview.3 opens https://go.microsoft.com/fwlink/?LinkID=2096480, which correctly redirects to https://docs.microsoft.com/powershell/module/Microsoft.PowerShell.Core/Clear-Host?view=powershell-7. It was fixed in #11071.

    However, Get-Help prompt -Online in PowerShell 7.1.0-preview.3 opens https://go.microsoft.com/fwlink/?LinkID=225750, which uselessly redirects to https://www.microsoft.com?ref=go. That should redirect to https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_prompts?view=powershell-7, instead.

    I don't know whether the online links have been fixed for PowerShell Core 6.2, which is still supported until September 2020.

    The Clear-Host function removes all text from the current display, including commands and output that might have accumulated. When complete, it displays the command prompt. You can use the function name or its alias, cls. Clear-Host affects only the current display. It does not delete saved results or remove any items from the session. Session-specific items, such as variables and functions, are not affected by this function. Because the behavior of the Clear-Host function is determined by the host program, Clear-Host might work differently in different host programs.
    The Clear-Host function removes all text from the current display, including commands and output that might have accumulated. When complete, it displays the command prompt. You can use the function name or its alias, cls. Clear-Host affects only the current display. It does not delete saved results or remove any items from the session. Session-specific items, such as variables and functions, are not affected by this function. Because the behavior of the Clear-Host function is determined by the host program, Clear-Host might work differently in different host programs.
    At Microsoft our mission and values are to help people and businesses throughout the world realize their full potential.
  14. yecril71pl commented on Jul 15, 2020

    @yecril71pl
    Contributor
  15. 9 remaining items

  16. ghost closed this as completedon Oct 16, 2020
  17. rjmholt commented on Nov 17, 2020

    @rjmholt
    Collaborator

    Reopening, due to the reversion of #13176 in #14107

  18. ghost closed this as completedon Nov 19, 2020
  19. rjmholt commented on Nov 19, 2020

    @rjmholt
    Collaborator

    Whoops, didn't realise the bot would do that

  20. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

  21. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

  22. added
    Resolution-No Activity
    on Nov 16, 2023
  23. microsoft-github-policy-service commented on Nov 23, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugResolution-No ActivityWG-Interactive-HelpSystem

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions