You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Get-Help Clear-Host -Online gives broken link #7795
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.
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.
microsoft-github-policy-service commented on Nov 16, 2023
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.
Activity
YogurtTheHorse commentedon Sep 18, 2018
I just found, that any Get-Help output produces broken links :(
So
Get-Help Get-Process -Onlineopens https://go.microsoft.com/fwlink/?linkid=821590doctordns commentedon Sep 21, 2018
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)
[-]`Get-Help Clear-Host` gives broken links[/-][+]`Get-Help Clear-Host -Online` gives broken link[/+]YogurtTheHorse commentedon Sep 21, 2018
Yeah. Problem in
-Online. Edited, so it will be cleardoctordns commentedon Sep 21, 2018
Thanks for the update.
The -ONLINE issue is known about. It seems to affect ANY call to Get-Help that uses -online.
YogurtTheHorse commentedon Sep 21, 2018
doctordns commentedon Sep 21, 2018
Interestingly - this bug does NOT exist in PowerShell v6.
MaximoTrinidad commentedon Sep 21, 2018
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!!
doctordns commentedon Sep 21, 2018
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.
YogurtTheHorse commentedon Sep 21, 2018
But I use 6.1 and bug exists in my configuration
MaximoTrinidad commentedon Sep 21, 2018
Hi Thomas Lee (@doctordns) (Thomas)
Yeah! You're right. But, they are handling it.
:)
KalleOlaviNiemitalo commentedon Jun 7, 2020
Get-Help Clear-Host -Onlinein 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 -Onlinein 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.
yecril71pl commentedon Jul 15, 2020
Duplicate of MicrosoftDocs/PowerShell-Docs#2939 (comment)
9 remaining items
rjmholt commentedon Nov 17, 2020
Reopening, due to the reversion of #13176 in #14107
rjmholt commentedon Nov 19, 2020
Whoops, didn't realise the bot would do that
microsoft-github-policy-service commentedon Nov 16, 2023
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.
microsoft-github-policy-service commentedon Nov 16, 2023
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.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.