Author Posts

February 20, 2018 at 5:55 pm

Hi I'm new on Windows Powershell in general and use a lot the help system; when I try Powershell Core for first time and look for "help about_*" and don't retrive anything, it's that correct? I try the same in a couple of machines.
Thanks in advance.

February 21, 2018 at 12:18 am

You can just review them online (Github)...

aka.ms/pscore6-docs

...which are the most updated vs static ones on the system.

Question, did you update the local help files first, just as you have to do for Windows PowerShell?

Update-Help -Force

Then do ,,,

Get-Help about_*
    pwsh

    PowerShell v6.0.1
    Copyright (c) Microsoft Corporation. All rights reserved.

    https://aka.ms/pscore6-docs
    Type 'help' to get help.

    Get-Help about_*

    update-help -Force

    Get-Help about_*

    Name                              Category  Module                    Synopsis
    ----                              --------  ------                    --------
    about_Aliases                     HelpFile
    about_Arithmetic_Operators        HelpFile
    about_Arrays                      HelpFile
    about_Assignment_Operators        HelpFile

Since you say you are new to PoSH, see this for learning guidance.

'powershell.org/forums/topic/declare-functions-at-the-beginning-of-the-script/#post-94096'

February 21, 2018 at 1:07 pm

Hi postanote, thanks for the response.
I think I discover the problem, I did the things that you said but there was not changes:

PowerShell v6.0.1
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs
Type 'help' to get help.

PS C:\Program Files\PowerShell\6.0.1> Update-Help -Force

PS C:\Program Files\PowerShell\6.0.1> Get-Help about_*

PS C:\Program Files\PowerShell\6.0.1> 

One thing I not mention before was that I use my native OS (Windows 7 and Windows 10) in spanish.

PS C:\Program Files\PowerShell\6.0.1> Get-UICulture

LCID             Name             DisplayName
----             ----             -----------
2058             es-MX            Español (México)

When I force the update-help to english it's work great! 🙂

PS C:\Program Files\PowerShell\6.0.1> Update-Help -Force -UICulture en-US

PS C:\Program Files\PowerShell\6.0.1> Get-Help about_* | select -First 15

Name                              Category  Module                    Synopsis
----                              --------  ------                    --------
about_Aliases                     HelpFile
about_Arithmetic_Operators        HelpFile
about_Arrays                      HelpFile
about_Assignment_Operators        HelpFile
about_Automatic_Variables         HelpFile
about_Break                       HelpFile
about_Classes                     HelpFile
about_Command_Precedence          HelpFile
about_Command_Syntax              HelpFile
about_Comment_Based_Help          HelpFile
about_CommonParameters            HelpFile
about_Comparison_Operators        HelpFile
about_Continue                    HelpFile
about_Core_Commands               HelpFile
about_Data_Sections               HelpFile


PS C:\Program Files\PowerShell\6.0.1> (Get-Help about_*).count
103

I hope this help to someone else.
bye.

February 21, 2018 at 8:25 pm

Yeppers, the language localization this is still on-going work I guess.

BTW, remember you can get the location of the raw help files this way

# All Help topics locations
explorer "$pshome\$($Host.CurrentCulture.Name)"