Windows PowerShell 5.1의 Get-Command -CommandType Alias 명령을 실행해서 표시된 Alias일람을 소개합니다. -> 기호 앞쪽이 Alias명이고 뒤쪽이 실제 cmdlet 명령입니다. 각 명령의 대한 도움말은 help cmdlet명령으로 확인 할 수 있습니다 만 도움말이 필요한 명령을 지정할때는 dir -> Get-ChildItem의 Alias명 dir가 아닌 실제 cmdlet 명령인 Get-ChildItem를 지정합니다. 즉, help dir이 아닌 help Get-ChildItem가 됩니다.
Windows Powershell 4.0과 5.1의 커맨드 비교
Windows PowerShell 5.1과 4.0의 Alias 타입 커맨드를 비교하여 차이를 알 수 있게끔 표로 정리하였습니다. 5.1의 커맨드를 기준으로 4.0에서 제공하는 커맨드는 〇, 제공하지 않는 커맨드는 ×로 표시하였습니다.
No | 4.0 | Alias Name | Version | Source |
---|---|---|---|---|
1 | 〇 | % -> ForEach-Object | ||
2 | 〇 | ? -> Where-Object | ||
3 | 〇 | ac -> Add-Content | ||
4 | × | Add-AppPackage | 2.0.1.0 | Appx |
5 | × | Add-AppPackageVolume | 2.0.1.0 | Appx |
6 | × | Add-AppProvisionedPackage | 3.0 | Dism |
7 | × | Add-ProvisionedAppPackage | 3.0 | Dism |
8 | 〇 | Add-ProvisionedAppxPackage | 3.0 | Dism |
9 | × | Add-WindowsFeature | 2.0.0.0 | ServerManager |
10 | × | algm -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
11 | 〇 | Apply-WindowsUnattend | 3.0 | Dism |
12 | 〇 | asnp -> Add-PSSnapin | ||
13 | 〇 | blsmba -> | 2.0.0.0 | SmbShare |
14 | 〇 | cat -> Get-Content | ||
15 | 〇 | cd -> Set-Location | ||
16 | × | CFS -> ConvertFrom-String | 3.1.0.0 | Microsoft.PowerShell.Utility |
17 | 〇 | chdir -> Set-Location | ||
18 | 〇 | clc -> Clear-Content | ||
19 | 〇 | clear -> Clear-Host | ||
20 | 〇 | clhy -> Clear-History | ||
21 | 〇 | cli -> Clear-Item | ||
22 | 〇 | clp -> Clear-ItemProperty | ||
23 | 〇 | cls -> Clear-Host | ||
24 | 〇 | clv -> Clear-Variable | ||
25 | × | cmpcfg -> | 1.1 | PSDesiredStateConfiguration |
26 | 〇 | cnsn -> Connect-PSSession | ||
27 | 〇 | compare -> Compare-Object | ||
28 | 〇 | copy -> Copy-Item | ||
29 | 〇 | cp -> Copy-Item | ||
30 | 〇 | cpi -> Copy-Item | ||
31 | 〇 | cpp -> Copy-ItemProperty | ||
32 | 〇 | cssmbo -> | 2.0.0.0 | SmbShare |
33 | 〇 | cssmbse -> | 2.0.0.0 | SmbShare |
34 | 〇 | curl -> Invoke-WebRequest | ||
35 | 〇 | cvpa -> Convert-Path | ||
36 | 〇 | dbp -> Disable-PSBreakpoint | ||
37 | 〇 | del -> Remove-Item | ||
38 | 〇 | diff -> Compare-Object | ||
39 | 〇 | dir -> Get-ChildItem | ||
40 | 〇 | Disable-PhysicalDiskIndication | 2.0.0.0 | Storage |
41 | × | Disable-StorageDiagnosticLog | 2.0.0.0 | Storage |
42 | × | Dismount-AppPackageVolume | 2.0.1.0 | Appx |
43 | × | dlu -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
44 | 〇 | dnsn -> Disconnect-PSSession | ||
45 | 〇 | dsmbd -> | 2.0.0.0 | SmbShare |
46 | 〇 | ebp -> Enable-PSBreakpoint | ||
47 | 〇 | echo -> Write-Output | ||
48 | × | elu -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
49 | 〇 | Enable-PhysicalDiskIndication | 2.0.0.0 | Storage |
50 | × | Enable-StorageDiagnosticLog | 2.0.0.0 | Storage |
51 | 〇 | epal -> Export-Alias | ||
52 | 〇 | epcsv -> Export-Csv | ||
53 | 〇 | epsn -> Export-PSSession | ||
54 | 〇 | erase -> Remove-Item | ||
55 | 〇 | esmbd -> | 2.0.0.0 | SmbShare |
56 | 〇 | etsn -> Enter-PSSession | ||
57 | 〇 | Expand-IscsiVirtualDisk | 2.0.0.0 | IscsiTarget |
58 | 〇 | exsn -> Exit-PSSession | ||
59 | 〇 | fc -> Format-Custom | ||
60 | × | fhx -> Format-Hex | 3.1.0.0 | Microsoft.PowerShell.Utility |
61 | × | fimo -> | 1.0.0.1 | PowerShellGet |
62 | 〇 | fl -> Format-List | ||
63 | 〇 | Flush-Volume | 2.0.0.0 | Storage |
64 | 〇 | foreach -> ForEach-Object | ||
65 | 〇 | ft -> Format-Table | ||
66 | 〇 | fw -> Format-Wide | ||
67 | 〇 | gal -> Get-Alias | ||
68 | 〇 | gbp -> Get-PSBreakpoint | ||
69 | 〇 | gc -> Get-Content | ||
70 | 〇 | gcai -> | 1.0.0.0 | CimCmdlets |
71 | × | gcb -> | 3.1.0.0 | Microsoft.PowerShell.Management |
72 | × | gcfg -> | 1.1 | PSDesiredStateConfiguration |
73 | × | gcfgs -> | 1.1 | PSDesiredStateConfiguration |
74 | 〇 | gci -> Get-ChildItem | ||
75 | 〇 | gcim -> | 1.0.0.0 | CimCmdlets |
76 | 〇 | gcls -> | 1.0.0.0 | CimCmdlets |
77 | 〇 | gcm -> Get-Command | ||
78 | 〇 | gcms -> | 1.0.0.0 | CimCmdlets |
79 | 〇 | gcs -> Get-PSCallStack | ||
80 | 〇 | gdr -> Get-PSDrive | ||
81 | × | Get-AppPackage | 2.0.1.0 | Appx |
82 | × | Get-AppPackageDefaultVolume | 2.0.1.0 | Appx |
83 | × | Get-AppPackageLastError | 2.0.1.0 | Appx |
84 | × | Get-AppPackageLog | 2.0.1.0 | Appx |
85 | × | Get-AppPackageManifest | 2.0.1.0 | Appx |
86 | × | Get-AppPackageVolume | 2.0.1.0 | Appx |
87 | × | Get-AppProvisionedPackage | 3.0 | Dism |
88 | × | Get-DiskSNV | 2.0.0.0 | Storage |
89 | 〇 | Get-PhysicalDiskSNV | 2.0.0.0 | Storage |
90 | × | Get-ProvisionedAppPackage | 3.0 | Dism |
91 | 〇 | Get-ProvisionedAppxPackage | 3.0 | Dism |
92 | × | Get-StorageEnclosureSNV | 2.0.0.0 | Storage |
93 | 〇 | ghy -> Get-History | ||
94 | 〇 | gi -> Get-Item | ||
95 | × | gin -> | 3.1.0.0 | Microsoft.PowerShell.Management |
96 | 〇 | gip -> | 1.0.0.0 | NetTCPIP |
97 | 〇 | gjb -> Get-Job | ||
98 | 〇 | gl -> Get-Location | ||
99 | × | glcm -> | 1.1 | PSDesiredStateConfiguration |
100 | × | glg -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
101 | × | glgm -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
102 | × | glu -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
103 | 〇 | gm -> Get-Member | ||
104 | 〇 | gmo -> Get-Module | ||
105 | 〇 | gp -> Get-ItemProperty | ||
106 | 〇 | gps -> Get-Process | ||
107 | × | gpv -> Get-ItemPropertyValue | ||
108 | 〇 | group -> Group-Object | ||
109 | 〇 | grsmba -> | 2.0.0.0 | SmbShare |
110 | 〇 | gsmba -> | 2.0.0.0 | SmbShare |
111 | 〇 | gsmbb -> | 2.0.0.0 | SmbShare |
112 | 〇 | gsmbc -> | 2.0.0.0 | SmbShare |
113 | 〇 | gsmbcc -> | 2.0.0.0 | SmbShare |
114 | 〇 | gsmbcn -> | 2.0.0.0 | SmbShare |
115 | 〇 | gsmbd -> | 2.0.0.0 | SmbShare |
116 | × | gsmbgm -> | 2.0.0.0 | SmbShare |
117 | 〇 | gsmbm -> | 2.0.0.0 | SmbShare |
118 | 〇 | gsmbmc -> | 2.0.0.0 | SmbShare |
119 | 〇 | gsmbo -> | 2.0.0.0 | SmbShare |
120 | 〇 | gsmbs -> | 2.0.0.0 | SmbShare |
121 | 〇 | gsmbsc -> | 2.0.0.0 | SmbShare |
122 | 〇 | gsmbse -> | 2.0.0.0 | SmbShare |
123 | 〇 | gsmbsn -> | 2.0.0.0 | SmbShare |
124 | 〇 | gsmbt -> | 2.0.0.0 | SmbShare |
125 | × | gsmbw -> | 2.0.0.0 | SmbWitness |
126 | 〇 | gsn -> Get-PSSession | ||
127 | 〇 | gsnp -> Get-PSSnapin | ||
128 | 〇 | gsv -> Get-Service | ||
129 | × | gtz -> | 3.1.0.0 | Microsoft.PowerShell.Management |
130 | 〇 | gu -> Get-Unique | ||
131 | 〇 | gv -> Get-Variable | ||
132 | 〇 | gwmi -> Get-WmiObject | ||
133 | 〇 | h -> Get-History | ||
134 | 〇 | history -> Get-History | ||
135 | 〇 | icim -> | 1.0.0.0 | CimCmdlets |
136 | 〇 | icm -> Invoke-Command | ||
137 | 〇 | iex -> Invoke-Expression | ||
138 | 〇 | ihy -> Invoke-History | ||
139 | 〇 | ii -> Invoke-Item | ||
140 | 〇 | Initialize-Volume | 2.0.0.0 | Storage |
141 | × | inmo -> | 1.0.0.1 | PowerShellGet |
142 | 〇 | ipal -> Import-Alias | ||
143 | 〇 | ipcsv -> Import-Csv | ||
144 | 〇 | ipmo -> Import-Module | ||
145 | 〇 | ipsn -> Import-PSSession | ||
146 | 〇 | irm -> Invoke-RestMethod | ||
147 | × | iru -> | 1.0.0.0 | AppBackgroundTask |
148 | 〇 | ise -> powershell_ise.exe | ||
149 | 〇 | iwmi -> Invoke-WMIMethod | ||
150 | 〇 | iwr -> Invoke-WebRequest | ||
151 | 〇 | kill -> Stop-Process | ||
152 | 〇 | lp -> Out-Printer | ||
153 | 〇 | ls -> Get-ChildItem | ||
154 | 〇 | man -> help | ||
155 | 〇 | md -> mkdir | ||
156 | 〇 | measure -> Measure-Object | ||
157 | 〇 | mi -> Move-Item | ||
158 | 〇 | mount -> New-PSDrive | ||
159 | × | Mount-AppPackageVolume | 2.0.1.0 | Appx |
160 | 〇 | move -> Move-Item | ||
161 | × | Move-AppPackage | 2.0.1.0 | Appx |
162 | × | Move-SmbClient | 2.0.0.0 | SmbWitness |
163 | 〇 | mp -> Move-ItemProperty | ||
164 | × | msmbw -> | 2.0.0.0 | SmbWitness |
165 | 〇 | mv -> Move-Item | ||
166 | 〇 | nal -> New-Alias | ||
167 | 〇 | ncim -> | 1.0.0.0 | CimCmdlets |
168 | 〇 | ncms -> | 1.0.0.0 | CimCmdlets |
169 | 〇 | ncso -> | 1.0.0.0 | CimCmdlets |
170 | 〇 | ndr -> New-PSDrive | ||
171 | 〇 | ni -> New-Item | ||
172 | × | nlg -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
173 | × | nlu -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
174 | 〇 | nmo -> New-Module | ||
175 | 〇 | npssc -> New-PSSessionConfigurationFile | ||
176 | × | nsmbgm -> | 2.0.0.0 | SmbShare |
177 | 〇 | nsmbm -> | 2.0.0.0 | SmbShare |
178 | 〇 | nsmbs -> | 2.0.0.0 | SmbShare |
179 | 〇 | nsmbt -> | 2.0.0.0 | SmbShare |
180 | 〇 | nsn -> New-PSSession | ||
181 | 〇 | nv -> New-Variable | ||
182 | × | nwsn -> | 2.0.0.0 | PSWorkflow |
183 | 〇 | ogv -> Out-GridView | ||
184 | 〇 | oh -> Out-Host | ||
185 | × | Optimize-AppProvisionedPackages | 3.0 | Dism |
186 | × | Optimize-ProvisionedAppPackages | 3.0 | Dism |
187 | × | Optimize-ProvisionedAppxPackages | 3.0 | Dism |
188 | × | pbcfg -> | 1.1 | PSDesiredStateConfiguration |
189 | × | pfn -> | 1.0.0.0 | AppBackgroundTask |
190 | 〇 | popd -> Pop-Location | ||
191 | 〇 | ps -> Get-Process | ||
192 | × | pumo -> | 1.0.0.1 | PowerShellGet |
193 | 〇 | pushd -> Push-Location | ||
194 | 〇 | pwd -> Get-Location | ||
195 | 〇 | r -> Invoke-History | ||
196 | 〇 | rbp -> Remove-PSBreakpoint | ||
197 | 〇 | rcie -> | 1.0.0.0 | CimCmdlets |
198 | 〇 | rcim -> | 1.0.0.0 | CimCmdlets |
199 | 〇 | rcjb -> Receive-Job | ||
200 | 〇 | rcms -> | 1.0.0.0 | CimCmdlets |
201 | 〇 | rcsn -> Receive-PSSession | ||
202 | 〇 | rd -> Remove-Item | ||
203 | 〇 | rdr -> Remove-PSDrive | ||
204 | × | Remove-AppPackage | 2.0.1.0 | Appx |
205 | × | Remove-AppPackageVolume | 2.0.1.0 | Appx |
206 | × | Remove-AppProvisionedPackage | 3.0 | Dism |
207 | × | Remove-EtwTraceSession | 1.0.0.0 | EventTracingManagement |
208 | × | Remove-ProvisionedAppPackage | 3.0 | Dism |
209 | 〇 | Remove-ProvisionedAppxPackage | 3.0 | Dism |
210 | × | Remove-WindowsFeature | 2.0.0.0 | ServerManager |
211 | 〇 | ren -> Rename-Item | ||
212 | 〇 | ri -> Remove-Item | ||
213 | 〇 | rjb -> Remove-Job | ||
214 | 〇 | rksmba -> | 2.0.0.0 | SmbShare |
215 | × | rlg -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
216 | × | rlgm -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
217 | × | rlu -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
218 | 〇 | rm -> Remove-Item | ||
219 | 〇 | rmdir -> Remove-Item | ||
220 | 〇 | rmo -> Remove-Module | ||
221 | 〇 | rni -> Rename-Item | ||
222 | × | rnlg -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
223 | × | rnlu -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
224 | 〇 | rnp -> Rename-ItemProperty | ||
225 | 〇 | rp -> Remove-ItemProperty | ||
226 | 〇 | rsmbb -> | 2.0.0.0 | SmbShare |
227 | × | rsmbgm -> | 2.0.0.0 | SmbShare |
228 | 〇 | rsmbm -> | 2.0.0.0 | SmbShare |
229 | 〇 | rsmbs -> | 2.0.0.0 | SmbShare |
230 | 〇 | rsmbt -> | 2.0.0.0 | SmbShare |
231 | 〇 | rsn -> Remove-PSSession | ||
232 | 〇 | rsnp -> Remove-PSSnapin | ||
233 | × | rtcfg -> | 1.1 | PSDesiredStateConfiguration |
234 | 〇 | rujb -> Resume-Job | ||
235 | 〇 | rv -> Remove-Variable | ||
236 | 〇 | rvpa -> Resolve-Path | ||
237 | 〇 | rwmi -> Remove-WMIObject | ||
238 | × | sacfg -> | 1.1 | PSDesiredStateConfiguration |
239 | 〇 | sajb -> Start-Job | ||
240 | 〇 | sal -> Set-Alias | ||
241 | 〇 | saps -> Start-Process | ||
242 | 〇 | sasv -> Start-Service | ||
243 | 〇 | sbp -> Set-PSBreakpoint | ||
244 | 〇 | sc -> Set-Content | ||
245 | × | scb -> | 3.1.0.0 | Microsoft.PowerShell.Management |
246 | 〇 | scim -> | 1.0.0.0 | CimCmdlets |
247 | 〇 | select -> Select-Object | ||
248 | 〇 | set -> Set-Variable | ||
249 | × | Set-AppPackageDefaultVolume | 2.0.1.0 | Appx |
250 | × | Set-AppPackageProvisionedDataFile | 3.0 | Dism |
251 | × | Set-AutologgerConfig | 1.0.0.0 | EventTracingManagement |
252 | × | Set-EtwTraceSession | 1.0.0.0 | EventTracingManagement |
253 | × | Set-ProvisionedAppPackageDataFile | 3.0 | Dism |
254 | × | Set-ProvisionedAppXDataFile | 3.0 | Dism |
255 | 〇 | shcm -> Show-Command | ||
256 | 〇 | si -> Set-Item | ||
257 | 〇 | sl -> Set-Location | ||
258 | × | slcm -> | 1.1 | PSDesiredStateConfiguration |
259 | 〇 | sleep -> Start-Sleep | ||
260 | × | slg -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
261 | 〇 | sls -> Select-String | ||
262 | × | slu -> | 1.0.0.0 | Microsoft.PowerShell.LocalAccounts |
263 | 〇 | sort -> Sort-Object | ||
264 | 〇 | sp -> Set-ItemProperty | ||
265 | 〇 | spjb -> Stop-Job | ||
266 | 〇 | spps -> Stop-Process | ||
267 | 〇 | spsv -> Stop-Service | ||
268 | 〇 | ssmbb -> | 2.0.0.0 | SmbShare |
269 | 〇 | ssmbcc -> | 2.0.0.0 | SmbShare |
270 | 〇 | ssmbp -> | 2.0.0.0 | SmbShare |
271 | 〇 | ssmbs -> | 2.0.0.0 | SmbShare |
272 | 〇 | ssmbsc -> | 2.0.0.0 | SmbShare |
273 | 〇 | start -> Start-Process | ||
274 | × | stz -> | 3.1.0.0 | Microsoft.PowerShell.Management |
275 | 〇 | sujb -> Suspend-Job | ||
276 | 〇 | sv -> Set-Variable | ||
277 | 〇 | swmi -> Set-WMIInstance | ||
278 | × | tcfg -> | 1.1 | PSDesiredStateConfiguration |
279 | 〇 | tee -> Tee-Object | ||
280 | × | tid -> | 1.0.0.0 | AppBackgroundTask |
281 | 〇 | TNC -> | 1.0.0.0 | NetTCPIP |
282 | 〇 | trcm -> Trace-Command | ||
283 | 〇 | type -> Get-Content | ||
284 | 〇 | udsmbmc -> | 2.0.0.0 | SmbShare |
285 | 〇 | ulsmba -> | 2.0.0.0 | SmbShare |
286 | × | upcfg -> | 1.1 | PSDesiredStateConfiguration |
287 | × | upmo -> | 1.0.0.1 | PowerShellGet |
288 | 〇 | wget -> Invoke-WebRequest | ||
289 | 〇 | where -> Where-Object | ||
290 | 〇 | wjb -> Wait-Job | ||
291 | 〇 | write -> Write-Output | ||
292 | 〇 | Write-FileSystemCache | 2.0.0.0 | Storage |