New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get-Help -Online fails for Commands in LocalAccounts module - Preview 6 #11268
Comments
LocalAccounts module was removed from PowerShell 6/7 so it is expected that Get-Help for cmdlets from the module doesn't work. |
Yes and no. From a help perspective, this module does not seem to exist (for PWSH7) yet its commands do certainly exist. I would argue that the user is expecting to be able to Get-Help on a directly available command. Even though you may not ship it, it is a module directly accessible from what you do ship thus at least point to the 5.1 help! |
The compatibility system is intended only to facilitate the transition period to PowerShell 7. |
So why can't the relevant cmdlets be coded so as to point to the 5.1 content to give a more consistent user experience? |
@doctordns typically the online help link is defined by the module itself; I wouldn't think that PS7 would make a difference here, you should be seeing the same behaviour running the The module itself would need to be updated either way. @iSazonov do you know if that module is in this repo, or if it's managed in a separate repo? |
The cmdlets present only in remote session and Help System see only proxies. If Help System don't see HelpUrl in the proxies I think it’s not worth the effort to enhance it,
The module was removed from the repo for compliance reasons. I started a work on new module #9926 and related RFC but there is still a small progress. |
This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes. |
If you use the command:
You get the help text at Docs.Microsoft.com. For example, if I Get-Help for Get-Help, I am redirected to
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/get-help?view=powershell-7 (i.e. the culture aware help location! for that cmdlet).
However for the cmdlets in the Microsoft.PowerShell.LocalAccounts module, attempting to Get-Help -online results in being directed to https://www.microsoft.com/en-gb/?ref=go1.
It appears that the necessary help files are not in Docs.Microsoft.Com's help system.
Steps to reproduce
Expected behaviour
I expected to be sent to a PowerShell 7 related help page.
Actual behaviour
Sent to https://www.microsoft.com/en-gb/?ref=go
Environment data
NB.: I tested this in 7.0.0-daily.20191204 and it fails in the same way. FWIW.
The text was updated successfully, but these errors were encountered: