晚上无聊,用着新安装的windows8来消磨时间,兴起用powershell来管理系统。
收集了所有的带简写命令:
Name Category Module Synopsis
ac Alias Add-Content
asnp Alias Add-PSSnapin
clc Alias Clear-Content
cli Alias Clear-Item
clp Alias Clear-ItemProperty
clv Alias Clear-Variable
compare Alias Compare-Object
cpi Alias Copy-Item
cpp Alias Copy-ItemProperty
cvpa Alias Convert-Path
dbp Alias Disable-PSBreakpoint
diff Alias Compare-Object
ebp Alias Enable-PSBreakpoint
epal Alias Export-Alias
epcsv Alias Export-Csv
fc Alias Format-Custom
fl Alias Format-List
foreach Alias ForEach-Object
% Alias ForEach-Object
ft Alias Format-Table
fw Alias Format-Wide
gal Alias Get-Alias
gbp Alias Get-PSBreakpoint
gc Alias Get-Content
gci Alias Get-ChildItem
gcm Alias Get-Command
gdr Alias Get-PSDrive
gcs Alias Get-PSCallStack
ghy Alias Get-History
gi Alias Get-Item
gl Alias Get-Location
gm Alias Get-Member
gmo Alias Get-Module
gp Alias Get-ItemProperty
gps Alias Get-Process
group Alias Group-Object
gsv Alias Get-Service
gsnp Alias Get-PSSnapin
gu Alias Get-Unique
gv Alias Get-Variable
gwmi Alias Get-WmiObject
iex Alias Invoke-Expression
ihy Alias Invoke-History
ii Alias Invoke-Item
ipmo Alias Import-Module
iwmi Alias Invoke-WmiMethod
ipal Alias Import-Alias
ipcsv Alias Import-Csv
measure Alias Measure-Object
mi Alias Move-Item
mp Alias Move-ItemProperty
nal Alias New-Alias
ndr Alias New-PSDrive
ni Alias New-Item
nv Alias New-Variable
nmo Alias New-Module
oh Alias Out-Host
ogv Alias Out-GridView
ise Alias powershell_ise.exe
rbp Alias Remove-PSBreakpoint
rdr Alias Remove-PSDrive
ri Alias Remove-Item
rni Alias Rename-Item
rnp Alias Rename-ItemProperty
rp Alias Remove-ItemProperty
rmo Alias Remove-Module
rsnp Alias Remove-PSSnapin
rv Alias Remove-Variable
rwmi Alias Remove-WmiObject
rvpa Alias Resolve-Path
sal Alias Set-Alias
sasv Alias Start-Service
sbp Alias Set-PSBreakpoint
sc Alias Set-Content
select Alias Select-Object
si Alias Set-Item
sl Alias Set-Location
swmi Alias Set-WmiInstance
shcm Alias Show-Command
sleep Alias Start-Sleep
sort Alias Sort-Object
sp Alias Set-ItemProperty
saps Alias Start-Process
start Alias Start-Process
spps Alias Stop-Process
spsv Alias Stop-Service
sv Alias Set-Variable
tee Alias Tee-Object
trcm Alias Trace-Command
where Alias Where-Object
? Alias Where-Object
write Alias Write-Output
rcsn Alias Receive-PSSession
cnsn Alias Connect-PSSession
dnsn Alias Disconnect-PSSession
irm Alias Invoke-RestMethod
iwr Alias Invoke-WebRequest
npssc Alias New-PSSessionConfigurationFile
cat Alias Get-Content
cd Alias Set-Location
clear Alias Clear-Host
cp Alias Copy-Item
h Alias Get-History
history Alias Get-History
kill Alias Stop-Process
lp Alias Out-Printer
ls Alias Get-ChildItem
man Alias help
mount Alias New-PSDrive
md Alias mkdir
mv Alias Move-Item
popd Alias Pop-Location
ps Alias Get-Process
pushd Alias Push-Location
pwd Alias Get-Location
r Alias Invoke-History
rm Alias Remove-Item
rmdir Alias Remove-Item
echo Alias Write-Output
cls Alias Clear-Host
chdir Alias Set-Location
copy Alias Copy-Item
del Alias Remove-Item
dir Alias Get-ChildItem
erase Alias Remove-Item
move Alias Move-Item
rd Alias Remove-Item
ren Alias Rename-Item
set Alias Set-Variable
type Alias Get-Content
icm Alias Invoke-Command
clhy Alias Clear-History
gjb Alias Get-Job
rcjb Alias Receive-Job
rjb Alias Remove-Job
sajb Alias Start-Job
spjb Alias Stop-Job
wjb Alias Wait-Job
sujb Alias Suspend-Job
rujb Alias Resume-Job
nsn Alias New-PSSession
gsn Alias Get-PSSession
rsn Alias Remove-PSSession
ipsn Alias Import-PSSession
epsn Alias Export-PSSession
etsn Alias Enter-PSSession
exsn Alias Exit-PSSession
sls Alias Select-String
收集了所有的带简写命令:
Name Category Module Synopsis
ac Alias Add-Content
asnp Alias Add-PSSnapin
clc Alias Clear-Content
cli Alias Clear-Item
clp Alias Clear-ItemProperty
clv Alias Clear-Variable
compare Alias Compare-Object
cpi Alias Copy-Item
cpp Alias Copy-ItemProperty
cvpa Alias Convert-Path
dbp Alias Disable-PSBreakpoint
diff Alias Compare-Object
ebp Alias Enable-PSBreakpoint
epal Alias Export-Alias
epcsv Alias Export-Csv
fc Alias Format-Custom
fl Alias Format-List
foreach Alias ForEach-Object
% Alias ForEach-Object
ft Alias Format-Table
fw Alias Format-Wide
gal Alias Get-Alias
gbp Alias Get-PSBreakpoint
gc Alias Get-Content
gci Alias Get-ChildItem
gcm Alias Get-Command
gdr Alias Get-PSDrive
gcs Alias Get-PSCallStack
ghy Alias Get-History
gi Alias Get-Item
gl Alias Get-Location
gm Alias Get-Member
gmo Alias Get-Module
gp Alias Get-ItemProperty
gps Alias Get-Process
group Alias Group-Object
gsv Alias Get-Service
gsnp Alias Get-PSSnapin
gu Alias Get-Unique
gv Alias Get-Variable
gwmi Alias Get-WmiObject
iex Alias Invoke-Expression
ihy Alias Invoke-History
ii Alias Invoke-Item
ipmo Alias Import-Module
iwmi Alias Invoke-WmiMethod
ipal Alias Import-Alias
ipcsv Alias Import-Csv
measure Alias Measure-Object
mi Alias Move-Item
mp Alias Move-ItemProperty
nal Alias New-Alias
ndr Alias New-PSDrive
ni Alias New-Item
nv Alias New-Variable
nmo Alias New-Module
oh Alias Out-Host
ogv Alias Out-GridView
ise Alias powershell_ise.exe
rbp Alias Remove-PSBreakpoint
rdr Alias Remove-PSDrive
ri Alias Remove-Item
rni Alias Rename-Item
rnp Alias Rename-ItemProperty
rp Alias Remove-ItemProperty
rmo Alias Remove-Module
rsnp Alias Remove-PSSnapin
rv Alias Remove-Variable
rwmi Alias Remove-WmiObject
rvpa Alias Resolve-Path
sal Alias Set-Alias
sasv Alias Start-Service
sbp Alias Set-PSBreakpoint
sc Alias Set-Content
select Alias Select-Object
si Alias Set-Item
sl Alias Set-Location
swmi Alias Set-WmiInstance
shcm Alias Show-Command
sleep Alias Start-Sleep
sort Alias Sort-Object
sp Alias Set-ItemProperty
saps Alias Start-Process
start Alias Start-Process
spps Alias Stop-Process
spsv Alias Stop-Service
sv Alias Set-Variable
tee Alias Tee-Object
trcm Alias Trace-Command
where Alias Where-Object
? Alias Where-Object
write Alias Write-Output
rcsn Alias Receive-PSSession
cnsn Alias Connect-PSSession
dnsn Alias Disconnect-PSSession
irm Alias Invoke-RestMethod
iwr Alias Invoke-WebRequest
npssc Alias New-PSSessionConfigurationFile
cat Alias Get-Content
cd Alias Set-Location
clear Alias Clear-Host
cp Alias Copy-Item
h Alias Get-History
history Alias Get-History
kill Alias Stop-Process
lp Alias Out-Printer
ls Alias Get-ChildItem
man Alias help
mount Alias New-PSDrive
md Alias mkdir
mv Alias Move-Item
popd Alias Pop-Location
ps Alias Get-Process
pushd Alias Push-Location
pwd Alias Get-Location
r Alias Invoke-History
rm Alias Remove-Item
rmdir Alias Remove-Item
echo Alias Write-Output
cls Alias Clear-Host
chdir Alias Set-Location
copy Alias Copy-Item
del Alias Remove-Item
dir Alias Get-ChildItem
erase Alias Remove-Item
move Alias Move-Item
rd Alias Remove-Item
ren Alias Rename-Item
set Alias Set-Variable
type Alias Get-Content
icm Alias Invoke-Command
clhy Alias Clear-History
gjb Alias Get-Job
rcjb Alias Receive-Job
rjb Alias Remove-Job
sajb Alias Start-Job
spjb Alias Stop-Job
wjb Alias Wait-Job
sujb Alias Suspend-Job
rujb Alias Resume-Job
nsn Alias New-PSSession
gsn Alias Get-PSSession
rsn Alias Remove-PSSession
ipsn Alias Import-PSSession
epsn Alias Export-PSSession
etsn Alias Enter-PSSession
exsn Alias Exit-PSSession
sls Alias Select-String
有很多linux的指令收过来了,比如PS,PWD,LS。很有意思
本文转自 tao61 博客,原文链接: http://blog.51cto.com/tao61/922652 如需转载请自行联系原作者