Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

PowerShell Get-Help

Posted on 2016-09-05
10
80 Views
Last Modified: 2016-09-07
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
0
Comment
Question by:jzrobbie
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 84

Expert Comment

by:oBdA
ID: 41784650
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.
0
 

Author Comment

by:jzrobbie
ID: 41784665
@oBdA, tried to update again, it sill couldn't get about help file.
0
 
LVL 84

Expert Comment

by:oBdA
ID: 41784682
* 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.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:jzrobbie
ID: 41785388
* 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.
0
 
LVL 40

Expert Comment

by:footech
ID: 41785426
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
0
 

Author Comment

by:jzrobbie
ID: 41785599
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

0
 
LVL 40

Accepted Solution

by:
footech earned 500 total points
ID: 41786479
Go ahead and uninstall WMF 5.0, then install WMF 4.0 and then 5.0.  Then run Update-Help again and see if the issue is corrected.
1
 

Author Comment

by:jzrobbie
ID: 41787181
It worked!!!
I need to run update-help -force.
Thank you. Do you know what was the problem?
0
 
LVL 40

Expert Comment

by:footech
ID: 41788370
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.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 41788380
Probably an incomplete / damaged help file stopped processing others, "breaking the chain".
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question