Avatar of jzrobbie
jzrobbie
Flag 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
PowershellScripting LanguagesShell Scripting

Avatar of undefined
Last Comment
Qlemo

8/22/2022 - Mon
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.
jzrobbie

ASKER
@oBdA, tried to update again, it sill couldn't get about help file.
oBdA

* 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.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
jzrobbie

ASKER
* 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
PSScreen.PNG
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_*
PSScreen_About.PNGThis stopped working after I upgraded from PSv2 to V5, not sure whether it is the issue.
footech

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
jzrobbie

ASKER
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

⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
footech

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
jzrobbie

ASKER
It worked!!!
I need to run update-help -force.
Thank you. Do you know what was the problem?
footech

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.
Qlemo

Probably an incomplete / damaged help file stopped processing others, "breaking the chain".
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes