Create posh-Commands.md
This commit is contained in:
commit
d49305ef56
1 changed files with 10 additions and 0 deletions
10
posh-Commands.md
Normal file
10
posh-Commands.md
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
# posh-Commands
|
||||||
|
|
||||||
|
### Help
|
||||||
|
`Get-Command *Service*` # поиск команды по имени
|
||||||
|
`Get-Help Get-Service` # синтаксис
|
||||||
|
`Get-Service | Get-Member` # отобразить Method (действия: Start, Stop), Property (объекты вывода: Status, DisplayName), Event (события объектов: Click) и Alias
|
||||||
|
`Get-Alias ps`
|
||||||
|
`Get-Verb` # действия, утвержденные для использования в командах
|
||||||
|
`Set-ExecutionPolicy Unrestricted`
|
||||||
|
`Get-ExecutionPolicy`
|
||||||
Loading…
Add table
Add a link
Reference in a new issue