Command alias Cmdlet name Description of command
Performs an operation
% ForEach-Object against each item in a
collection of input objects.
Selects objects from a
? Where-Object collection based on their
property values.
Appends content, such as
ac Add-Content
words or data, to a file.
Adds one or more Windows
asnp Add-PSSnapIn PowerShell snap-ins to the
current session.
cat Get-Content Gets the contents of a file.
Sets the current working
cd Set-Location location to a specified
location.
Sets the current working
chdir Set-Location location to a specified
location.
Deletes the contents of an
clc Clear-Content item, but does not delete
the item.
Clears the display in the
clear Clear-Host
host program.
Deletes entries from the
clhy Clear-History
command history.
Deletes the contents of an
cli Clear-Item item, but does not delete
the item.
Deletes the value of a
clp Clear-ItemProperty property but does not
delete the property.
Clears the display in the
cls Clear-Host
host program.
Deletes the value of a
clv Clear-Variable
variable.
Reconnects to disconnected
cnsn Connect-PSSession
sessions
Compares two sets of
compare Compare-Object
objects.
Copies an item from one
copy Copy-Item
location to another.
Copies an item from one
cp Copy-Item
location to another.
Copies an item from one
cpi Copy-Item
location to another.
Copies a property and value
cpp Copy-ItemProperty from a specified location to
another location.
Gets content from a
curl Invoke-WebRequest
webpage on the Internet.
Converts a path from a
Windows PowerShell path
cvpa Convert-Path
to a Windows PowerShell
provider path.
Disables the breakpoints in
dbp Disable-PSBreakpoint
the current console.
del Remove-Item Deletes files and folders.
Compares two sets of
diff Compare-Object
objects.
Gets the files and folders in
dir Get-ChildItem
a file system drive.
dnsn Disconnect-PSSession Disconnects from a session.
Enables the breakpoints in
ebp Enable-PSBreakpoint
the current console.
Sends the specified objects
to the next command in the
pipeline. If the command is
echo Write-Output
the last command in the
pipeline, the objects are
displayed in the console.
Exports information about
epal Export-Alias currently defined aliases to
a file.
Converts objects into a
series of comma-separated
epcsv Export-Csv
(CSV) strings and saves the
strings in a CSV file.
Imports commands from
another session and saves
epsn Export-PSSession
them in a Windows
PowerShell module.
erase Remove-Item Deletes files and folders.
Starts an interactive session
etsn Enter-PSSession
with a remote computer.
Ends an interactive session
exsn Exit-PSSession
with a remote computer.
Uses a customized view to
fc Format-Custom
format the output.
Formats the output as a list
of properties in which each
fl Format-List
property appears on a new
line.
Performs an operation
foreach ForEach-Object against each item in a
collection of input objects.
Formats the output as a
ft Format-Table
table.
Formats objects as a wide
fw Format-Wide table that displays only one
property of each object.
Gets the aliases for the
gal Get-Alias
current session.
Gets the breakpoints that
gbp Get-PSBreakpoint are set in the current
session.
gc Get-Content Gets the contents of a file.
Gets the files and folders in
gci Get-ChildItem
a file system drive.
gcm Get-Command Gets all commands.
Displays the current call
gcs Get-PSCallStack
stack.
Gets drives in the current
gdr Get-PSDrive
session.
Gets a list of the commands
ghy Get-History entered during the current
session.
gi Get-Item Gets files and folders.
Gets Windows PowerShell
background jobs that are
gjb Get-Job
running in the current
session.
Gets information about the
gl Get-Location current working location or
a location stack.
Gets the properties and
gm Get-Member
methods of objects.
Gets the modules that have
been imported or that can
gmo Get-Module
be imported into the
current session.
Gets the properties of a
gp Get-ItemProperty
specified item.
Gets the processes that are
running on the local
gps Get-Process
computer or a remote
computer.
Groups objects that contain
group Group-Object the same value for specified
properties.
Gets the Windows
gsn Get-PSSession PowerShell sessions on local
and remote computers.
Gets the Windows
gsnp Get-PSSnapIn PowerShell snap-ins on the
computer.
Gets the services on a local
gsv Get-Service
or remote computer.
Returns unique items from a
gu Get-Unique
sorted list.
Gets the variables in the
gv Get-Variable
current console.
Gets instances of Windows
Management
gwmi Get-WmiObject Instrumentation (WMI)
classes or information about
the available classes.
Gets a list of the commands
h Get-History entered during the current
session.
Gets a list of the commands
history Get-History entered during the current
session.
Runs commands on local
icm Invoke-Command
and remote computers.
Runs commands or
iex Invoke-Expression expressions on the local
computer.
Runs commands from the
ihy Invoke-History
session history.
Performs the default action
ii Invoke-Item
on the specified item.
Imports an alias list from a
ipal Import-Alias
file.
Creates table-like custom
ipcsv Import-Csv objects from the items in a
CSV file.
Adds modules to the
ipmo Import-Module
current session.
Imports commands from
ipsn Import-PSSes sion another session into the
current session.
Sends an HTTP or HTTPS
irm Invoke-RestMethod request to a RESTful web
service.
Explains how to use the
ise powershell_ise.exe PowerShell_ISE.exe
command-line tool.
Calls Windows Management
iwmi Invoke-WMIMethod Instrumentation (WMI)
methods.
Gets content from a web
iwr Invoke-WebRequest
page on the Internet.
Stops one or more running
kill Stop-Process
processes.
lp Out-Printer Sends output to a printer.
Gets the files and folders in
ls Get-ChildItem
a file system drive.
Displays information about
man help Windows PowerShell
commands and concepts.
md mkdir Creates a new item.
Calculates the numeric
properties of objects, and
measure Measure-Object the characters, words, and
lines in string objects, such
as files of text.
Moves an item from one
mi Move-Item
location to another.
Creates temporary and
mount New-PSDrive persistent mapped network
drives.
Moves an item from one
move Move-Item
location to another.
Moves a property from one
mp Move-ItemProperty
location to another.
Moves an item from one
mv Move-Item
location to another.
nal New-Alias Creates a new alias.
Creates temporary and
ndr New-PSDrive persistent mapped network
drives.
ni New-Item Creates a new item.
Creates a new dynamic
nmo New-Module module that exists only in
memory.
New- Creates a file that defines a
npssc
PSSessionConfigurationFile session configuration.
Creates a persistent
nsn New-PSSession connection to a local or
remote computer.
nv New-Variable Creates a new variable.
Sends output to an
ogv Out-GridView interactive table in a
separate window.
Sends output to the
oh Out-Host
command line.
Changes the current
location to the location
most recently pushed to the
stack. You can pop the
popd Pop-Location
location from the default
stack or from a stack that
you create by using the
Push-Location cmdlet.
Gets the processes that are
running on the local
ps Get-Process
computer or a remote
computer.
Adds the current location to
pushd Push-Location
the top of a location stack.
Gets information about the
pwd Get-Location current working location or
a location stack.
Runs commands from the
r Invoke-History
session history.
Deletes breakpoints from
rbp Remove-PSBreakpoint
the current console.
Gets the results of the
Windows PowerShell
rcjb Receive-Job
background jobs in the
current session.
Gets results of commands in
rcsn Receive-PSSession
disconnected sessions.
rd Remove-Item Deletes files and folders.
Deletes temporary Windows
PowerShell drives and
rdr Remove-PSDrive
disconnects mapped
network drives.
Renames an item in a
ren Rename-Item Windows PowerShell
provider namespace.
ri Remove-Item Deletes files and folders.
Deletes a Windows
rjb Remove-Job
PowerShell background job.
rm Remove-Item Deletes files and folders.
rmdir Remove-Item Deletes files and folders.
Removes modules from the
rmo Remove-Module
current session.
Renames an item in a
rni Rename-Item Windows PowerShell
provider namespace.
Renames a property of an
rnp Rename-ItemProperty
item.
Deletes the property and its
rp Remove-ItemProperty
value from an item.
Closes one or more
rsn Remove-PSSession Windows PowerShell
sessions (PSSessions).
Removes Windows
rsnp Remove-PSSnapin PowerShell snap-ins from
the current session.
rujb Resume-Job Restarts a suspended job
Deletes a variable and its
rv Remove-Variable
value.
Resolves the wildcard
rvpa Resolve-Path characters in a path, and
displays the path contents.
Deletes an instance of an
existing Windows
rwmi Remove-WMIObject
Management
Instrumentation (WMI) class.
Starts a Windows
sajb Start-Job
PowerShell background job.
Creates or changes an alias
(alternate name) for a
cmdlet or other command
sal Set-Alias
element in the current
Windows PowerShell
session.
Starts one or more
saps Start-Process processes on the local
computer.
Starts one or more stopped
sasv Start-Service
services.
Sets a breakpoint on a line,
sbp Set-PSBreakpoint
command, or variable.
Replaces the contents of a
sc Set-Content file with contents that you
specify.
Selects objects or object
select Select-Object
properties.
Sets the value of a variable.
Creates the variable if one
set Set-Variable
with the requested name
does not exist.
Creates Windows
PowerShell commands in a
shcm Show-Command
graphical command
window.
Changes the value of an
si Set-Item
item to the valu