yardım almaq və Windows Powershell əmrləri takma tapmaq üçün necə?

A command in Powershell can have one or many alias. An alias is the command but in a shorter and mostly abbreviated form. Some aliases are made to match bash commands.

 

Get-ChildItem

Bu skript cari iş kataloq məzmunu siyahıları.
ləqəb: ls, dir

 

Get-Alias

Powershell bir komanda alias tapmaq üçün istifadə Get-Alias komanda.

 

Məsələn, bütün takma r ilə başlamaq tapmaq
get-alias r*

 

The Get-Alias komanda özü bir alias var gal. The following will do the same thing as above…
gal r*

 

Get-Alias də bir alias tam komanda olur
gal ls
Çıxış: ls -> Get-ChildItem

 

Biz də müəyyən komanda bütün takma tapa bilərsiniz -Definition parameter. Məsələn, nin bütün takma tapmaq imkan Get-ChildItem komanda. biz istifadə -d olan qısa -Definition

gal get-childitem -D

Çıxış

Siz -> Get-ChildItem
GCI -> Get-ChildItem
ls -> Get-ChildItem

 

Get-Command finds the commands by command name. Get-Command alias var gcm. So we can do this…
cmdlets get ilə başlayan alın
gcm -c cmdlet get*

 

Yuxarıda kimi eyni….
Get-Command -CommandType Cmdlet Get*

takma və ya əmrləri hər hansı yardım almaq üçün, just type help in front of the command. Məsələn…

help cp