2014-04-21 3 views
-1

'가져 오기', '가져 오기'와 같은 기본 명령이 작동하지 않습니다. PowerShell에서 다음 명령을 실행하려고하면 다음 예외가 발생합니다.Windows PowerShell- 기본 명령이 Windows 8에서 작동하지 않습니다.

PS C:\Users\Axiom> get -help 
get : The term 'get' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the 
spelling of the name, or if a path was included, verify that the path is correct and try again. 
At line:1 char:1 
+ get -help 
+ ~~~ 
    + CategoryInfo   : ObjectNotFound: (get:String) [], CommandNotFoundException 
    + FullyQualifiedErrorId : CommandNotFoundException 

기본 명령을 인식하기 위해 추가 지원 파일을 추가해야합니까?

+0

"get"다음에 "-help"앞에 공백을 추가 한 이유는 무엇입니까? – BartekB

답변

3

Powershell cmdlet의 형식은 Verb-Noun입니다. '동사'(이 경우 가져 오기), '-'와 'Noun'(이 경우 도움말) 사이에는 공백이 없어야합니다.

PS C:\Users\Nitesh> Get-Help 
TOPIC 
    Get-Help 

SHORT DESCRIPTION 
    Displays help about Windows PowerShell cmdlets and concepts. 

LONG DESCRIPTION 

SYNTAX 
    get-help {<CmdletName> | <TopicName>} 
    help {<CmdletName> | <TopicName>} 
    <CmdletName> -? 
관련 문제