Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am running PS2.0 on Win8.

When I run "get-help Get-ChildItem", I only see NAME and SYNTAX, where is the SYNOPSIS, RELATED LINKS and other info?

enter image description here

share|improve this question
1  
Windows 8 comes with PowerShell 3.0 preinstalled. At least mine did. Where did you get 2.0 from? (Type $PSVersionTable to see the version.) –  dangph Dec 16 '12 at 17:20
    
I installed the 2.0 by "Add features". –  smwikipedia Dec 17 '12 at 11:40

2 Answers 2

up vote 1 down vote accepted

You can run PowerShell 2 Windows 8 by passing the -version switch to powershell.exe:

powershell.exe -version 2.0

If you run PowerShell 2 like that, then the help appears to work as expected:

PS > help gci

NAME
    Get-ChildItem

SYNOPSIS
    Gets the items and child items in one or more specified locations.
[...]
share|improve this answer
    
it works when I run powershell.exe -version 3.0 –  smwikipedia Dec 17 '12 at 13:27
4  
@smwikipedia, I did an Update-Help in PS3. I wonder if you need to do that as well? Note that you will need to run PS3 as administrator to do that. –  dangph Dec 17 '12 at 13:36

Use

PS > Get-Help Get-Member -full

The full parameter will get you all available help for specific subject

You will see Links, Examples, Notes, Outputs, Inputs and detailed Synopsis

share|improve this answer
    
sorry, but -full doesn't work for me. I am using PowerShell 2.0 on Win8. –  smwikipedia Dec 17 '12 at 13:26
    
get-help returns what I want if I run the Powershell -version 3.0 –  smwikipedia Dec 17 '12 at 13:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.