jzrobbie
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
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
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 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.
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
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_*
This stopped working after I upgraded from PSv2 to V5, not sure whether it is the issue.
-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
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_*
This 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
What do you see if you run something like the following?
get-help -category helpfile
ASKER
No, i upgraded from ps2.0.
There is the result I run get-help -category helpfile
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It worked!!!
I need to run update-help -force.
Thank you. Do you know what was the problem?
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".
Open in new window
Then try the Get-Help again.