PowerShell命令别名对照表:
别名 | 标准名称 |
ac | Add-Content |
asnp | Add-PSSnapIn |
clc | Clear-Content |
cli | Clear-Item |
clp | Clear-ItemProperty |
clv | Clear-Variable |
compare | Compare-Object |
cpi | Copy-Item |
cpp | Copy-ItemProperty |
cvpa | Convert-Path |
dbp | Disable-PSBreakpoint |
diff | Compare-Object |
ebp | Enable-PSBreakpoint |
epal | Export-Alias |
epcsv | Export-Csv |
fc | Format-Custom |
fl | Format-List |
foreach | ForEach-Object |
% | ForEach-Object |
ft | Format-Table |
fw | Format-Wide |
gal | Get-Alias |
gbp | Get-PSBreakpoint |
gc | Get-Content |
gci | Get-ChildItem |
gcm | Get-Command |
gdr | Get-PSDrive |
gcs | Get-PSCallStack |
ghy | Get-History |
gi | Get-Item |
gl | Get-Location |
gm | Get-Member |
gmo | Get-Module |
gp | Get-ItemProperty |
gps | Get-Process |
group | Group-Object |
gsv | Get-Service |
gsnp | Get-PSSnapIn |
gu | Get-Unique |
gv | Get-Variable |
gwmi | Get-WmiObject |
iex | Invoke-Expression |
ihy | Invoke-History |
ii | Invoke-Item |
ipmo | Import-Module |
iwmi | Invoke-WMIMethod |
ipal | Import-Alias |
ipcsv | Import-Csv |
measure | Measure-Object |
mi | Move-Item |
mp | Move-ItemProperty |
nal | New-Alias |
ndr | New-PSDrive |
ni | New-Item |
nv | New-Variable |
nmo | New-Module |
oh | Out-Host |
ogv | Out-GridView |
ise | powershell_ise.exe |
rbp | Remove-PSBreakpoint |
rdr | Remove-PSDrive |
ri | Remove-Item |
rni | Rename-Item |
rnp | Rename-ItemProperty |
rp | Remove-ItemProperty |
rmo | Remove-Module |
rsnp | Remove-PSSnapin |
rv | Remove-Variable |
rwmi | Remove-WMIObject |
rvpa | Resolve-Path |
sal | Set-Alias |
sasv | Start-Service |
sbp | Set-PSBreakpoint |
sc | Set-Content |
select | Select-Object |
si | Set-Item |
sl | Set-Location |
swmi | Set-WMIInstance |
sleep | Start-Sleep |
sort | Sort-Object |
sp | Set-ItemProperty |
saps | Start-Process |
start | Start-Process |
spps | Stop-Process |
spsv | Stop-Service |
sv | Set-Variable |
tee | Tee-Object |
where | Where-Object |
? | Where-Object |
write | Write-Output |
cat | Get-Content |
cd | Set-Location |
clear | Clear-Host |
cp | Copy-Item |
h | Get-History |
history | Get-History |
kill | Stop-Process |
lp | Out-Printer |
ls | Get-ChildItem |
man | help |
mount | New-PSDrive |
md | mkdir |
mv | Move-Item |
popd | Pop-Location |
ps | Get-Process |
pushd | Push-Location |
pwd | Get-Location |
r | Invoke-History |
rm | Remove-Item |
rmdir | Remove-Item |
echo | Write-Output |
cls | Clear-Host |
chdir | Set-Location |
copy | Copy-Item |
del | Remove-Item |
dir | Get-ChildItem |
erase | Remove-Item |
move | Move-Item |
rd | Remove-Item |
ren | Rename-Item |
set | Set-Variable |
type | Get-Content |
icm | Invoke-Command |
clhy | Clear-History |
gjb | Get-Job |
rcjb | Receive-Job |
rjb | Remove-Job |
sajb | Start-Job |
spjb | Stop-Job |
wjb | Wait-Job |
nsn | New-PSSession |
gsn | Get-PSSession |
rsn | Remove-PSSession |
ipsn | Import-PSSession |
epsn | Export-PSSession |
etsn | Enter-PSSession |
exsn | Exit-PSSession |