powershell-命令缩写一览

本文详细列举了PowerShell中常用命令的缩写形式,帮助用户更高效地在Windows PowerShell环境下进行操作和脚本编写。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

powershell
命令    缩写后的命令
Add-Contentac
Add-PSSnapInasnp
Clear-Contentclc
Clear-Historyclhy
Clear-Hostclear, cls
Clear-Itemcli
Clear-ItemPropertyclp
Clear-Variableclv
Compare-Objectcompare, diff
Connect-PSSessioncnsn
ConvertFrom-StringCFS
Convert-Pathcvpa
Copy-Itemcopy, cp, cpi
Copy-ItemPropertycpp
Disable-PSBreakpointdbp
Disconnect-PSSessiondnsn
Enable-PSBreakpointebp
Enter-PSSessionetsn
Exit-PSSessionexsn
Export-Aliasepal
Export-Csvepcsv
Export-PSSessionepsn
ForEach-Object%, foreach
Format-Customfc
Format-Hexfhx
Format-Listfl
Format-Tableft
Format-Widefw
Get-Aliasgal
Get-ChildItemdir, gci, ls
Get-Clipboardgcb
Get-Commandgcm
Get-ComputerInfogin
Get-Contentcat, gc, type
Get-Historyghy, h, history
Get-Itemgi
Get-ItemPropertygp
Get-ItemPropertyValuegpv
Get-Jobgjb
Get-Locationgl, pwd
Get-Membergm
Get-Modulegmo
Get-Processgps, ps
Get-PSBreakpointgbp
Get-PSCallStackgcs
Get-PSDrivegdr
Get-PSSessiongsn
Get-PSSnapIngsnp
Get-Servicegsv
Get-TimeZonegtz
Get-Uniquegu
Get-Variablegv
Get-WmiObjectgwmi
Group-Objectgroup
helpman
Import-Aliasipal
Import-Csvipcsv
Import-Moduleipmo
Import-PSSessionipsn
Invoke-Commandicm
Invoke-Expressioniex
Invoke-Historyihy, r
Invoke-Itemii
Invoke-RestMethodirm
Invoke-WebRequestcurl, iwr, wget
Invoke-WMIMethodiwmi
Measure-Objectmeasure
mkdirmd
Move-Itemmi, move, mv
Move-ItemPropertymp
New-Aliasnal
New-Itemni
New-Modulenmo
New-PSDrivemount, ndr
New-PSSessionnsn
New-PSSessionConfigura…npssc
New-Variablenv
Out-GridViewogv
Out-Hostoh
Out-Printerlp
Pop-Locationpopd
powershell_ise.exeise
Push-Locationpushd
Receive-Jobrcjb
Receive-PSSessionrcsn
Remove-Itemdel, erase, rd, ri, rm, rmdir
Remove-ItemPropertyrp
Remove-Jobrjb
Remove-Modulermo
Remove-PSBreakpointrbp
Remove-PSDriverdr
Remove-PSSessionrsn
Remove-PSSnapinrsnp
Remove-Variablerv
Remove-WMIObjectrwmi
Rename-Itemren, rni
Rename-ItemPropertyrnp
Resolve-Pathrvpa
Resume-Jobrujb
Select-Objectselect
Select-Stringsls
Set-Aliassal
Set-Clipboardscb
Set-Contentsc
Set-Itemsi
Set-ItemPropertysp
Set-Locationcd, chdir, sl
Set-PSBreakpointsbp
Set-TimeZonestz
Set-Variableset, sv
Set-WMIInstanceswmi
Show-Commandshcm
Sort-Objectsort
Start-Jobsajb
Start-Processsaps, start
Start-Servicesasv
Start-Sleepsleep
Stop-Jobspjb
Stop-Processkill, spps
Stop-Servicespsv
Suspend-Jobsujb
Tee-Objecttee
Trace-Commandtrcm
Wait-Jobwjb
Where-Object?, where
Write-Outputecho, write

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值