Link to home
Start Free TrialLog in
Avatar of jzrobbie
jzrobbieFlag for Australia

asked on

PowerShell Get-Help

Hi,
I am trying  to run get-help about_*, it returns about_CimSession only

I like to check all about help files through command line

Thank you

There is my ps version
Name                           Value
----                           -----
PSVersion                      5.0.10586.494
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.10586.494
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
Avatar of oBdA
oBdA

Since your command should work just fine, start with an elevated Shell (both 32bit and 64bit) and
Update-Help

Open in new window

Then try the Get-Help again.
Avatar of jzrobbie

ASKER

@oBdA, tried to update again, it sill couldn't get about help file.
* Did you run Update-Help in an elevated prompt?
* Did you get error messages from Update-Help?
* Can you get help for other topics, for example Get-Help *Item*?
When running Update-Help more than once on the same day, use the -Force switch.
* Did you run Update-Help in an elevated prompt?
-Yes, on both 32 & 64 bit

* Did you get error messages from Update-Help?
-NO,

* Can you get help for other topics, for example Get-Help *Item*?
-I have no issues to get help with normal cmdlets but about files
User generated image
When running Update-Help more than once on the same day, use the -Force switch.
I have tried -Force switch again , it is still no luck.

There is what I got when I put Get-Help about_*
User generated imageThis stopped working after I upgraded from PSv2 to V5, not sure whether it is the issue.
Did you install WMF 4.0 before 5.0?  That is a requirement.  I'm not sure if it could cause your issue, or whether the install would even succeed without it, but just want to be thorough.

What do you see if you run something like the following?
get-help -category helpfile
No, i upgraded from ps2.0.
There is the result I run get-help -category helpfile
PS C:\windows\system32> get-help -category helpfile

Name                              Category  Module                    Synopsis
----                              --------  ------                    --------
default                           HelpFile                            SHORT DESCRIPTION
about_ActiveDirectory             HelpFile                            The Active Directory m
about_ActiveDirectory_Filter      HelpFile                            Describes the syntax a
about_ActiveDirectory_Identity    HelpFile                            The Active Directory m
about_ActiveDirectory_ObjectModel HelpFile                            Describes the object m
about_BITS_Cmdlets                HelpFile                            Provides background in
about_CimSession                  HelpFile                            Describes a CimSession

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It worked!!!
I need to run update-help -force.
Thank you. Do you know what was the problem?
Not exactly.  But as you stated it stopped working after your upgrade, making sure that you followed the installation steps seemed like a good place to start.
Probably an incomplete / damaged help file stopped processing others, "breaking the chain".