проблемы с командами
Доброго времени суток!
ИЗВИНЯЮСЬ, ЕСЛИ ТАКАЯ ТЕМА УЖЕ ЕСТЬ!
НЕ РУГАЙТЕ, МОИ ПЕРВЫЕ ШАГИ С POWERSHELL!
Сегодня скачал PowerShell и книгу, дошел до команды Get -Help...ввожу ее, но на это мне выдает вот что :
Код:
The term 'Get' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again
.
At line:1 char:4
+ Get <<<< -Process
Как мне с этим бороться?
Заранее спасибо!
|
hub-lex, данную команду нужно писать без пробелов
Get-Help
про саму команду тоже можно получить справку, написав так
Get-Help Get-Help
Рекомендую заглянуть в тему PowerShell
|
Admiral, написал без пробелов Get-Help в ответ вот что:
Код:
Get-Help : Cannot find Help for topic "default".
At line:1 char:9
+ Get-Help <<<<
|
hub-lex, странно. Установка проведена корректно?
Вот что должно было быть в ответе на
Get-Help
PS C:\> Get-Help
TOPIC
Get-Help
SHORT DESCRIPTION
Displays help about PowerShell cmdlets and concepts.
LONG DESCRIPTION
SYNTAX
get-help {<CmdletName> | <TopicName>}
help {<CmdletName> | <TopicName>}
<CmdletName> -?
"Get-help" and "-?" display help on one page.
"Help" displays help on multiple pages.
Examples:
get-help get-process : Displays help about the get-process cmdlet.
get-help about-signing : Displays help about the signing concept.
help where-object : Displays help about the where-object cmdlet.
help about_foreach : Displays help about foreach loops in PowerShell.
match-string -? : Displays help about the match-string cmdlet.
You can use wildcard characters in the help commands (not with -?).
If multiple help topics match, PowerShell displays a list of matching
topics. If only one help topic matches, PowerShell displays the topic.
Examples:
get-help * : Displays all help topics.
get-help get-* : Displays topics that begin with get-.
help *object* : Displays topics with "object" in the name.
get-help about* : Displays all conceptual topics.
For information about wildcards, type:
get-help about_wildcard
REMARKS
To learn about PowerShell, read the following help topics:
get-command : Displays a list of cmdlets.
about_object : Explains the use of objects in PowerShell.
get-member : Displays the properties of an object.
Conceptual help files are named "about_<topic>", such as:
about_regular_expression.
The help commands also display the aliases on the system.
For information about aliases, type:
get-help about_alias
А вот что на
Get-Help Get-Help
PS C:\> Get-Help Get-Help
NAME
Get-Help
SYNOPSIS
Displays information about Windows PowerShell cmdlets and concepts.
SYNTAX
Get-Help [[-name] <string>] [-component <string[]>] [-functionality <string[]>] [-role <string[]>] [-category <stri
ng[]>] [-full] [<CommonParameters>]
Get-Help [[-name] <string>] [-component <string[]>] [-functionality <string[]>] [-role <string[]>] [-category <stri
ng[]>] [-detailed] [<CommonParameters>]
Get-Help [[-name] <string>] [-component <string[]>] [-functionality <string[]>] [-role <string[]>] [-category <stri
ng[]>] [-examples] [<CommonParameters>]
Get-Help [[-name] <string>] [-component <string[]>] [-functionality <string[]>] [-role <string[]>] [-category <stri
ng[]>] [-parameter <string>] [<CommonParameters>]
DETAILED DESCRIPTION
The Get-Help cmdlet displays information about Windows PowerShell cmdlets and concepts. You can also use "Help {<cm
dlet name> | <topic-name>" or "<cmdlet-name> /?". "Help" displays the help topics one page at a time. The "/?" disp
lays help for cmdlets on a single page.
RELATED LINKS
Get-Command
Get-PSDrive
Get-Member
REMARKS
For more information, type: "get-help Get-Help -detailed".
For technical information, type: "get-help Get-Help -full".
|
еще раз установил...сказал что все корректно установлено...и опять эти самые ошибки...
НО, у меня 2х ядерник, сначала хотел установить для 64-бит процессоров, на что мне была выдана ошибка, что мол такой тип процессоров не поддерживается...
затем взял setup для 32-bit процессоров и все установилось, но команды не воспринимает...
может быть есть какая то взаимосвязь?
|
hub-lex то что проц 2х ядерный ещё не значит что нужно ставить 64х битную версию, так как последняя станет если ОС будет 64х битной, которая в свою очередь встанет если проц поддерживает 64х битные инструкции.
amel27 установщик проверяет наличие установленного .NET FrameWork 2.0
|
Время: 21:58.
© OSzone.net 2001-