Here’s a list of aliases you can use for PowerShell.  An alias is just a shortcut.  You can use an alias from the console or in a script, and it works just the same as the command that it references.

Download the PowerShell 6 Cheat Sheet

Updated for 2019!

Perfect to keep next to you when you're coding with PowerShell!

    We won't send you spam. Unsubscribe at any time.

    These are the default aliases that come with PowerShell version 2.  You can add to this list by creating your own alias.

    Name

    Definition

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

    If you’ve not started streamlining your typing at the console by using these PowerShell aliases, you can get more done per keystroke.

    A good thing to keep in mind is that while aliases can help a lot by letting you get your commands and pipelines completed quicker, aliases are not as easy to read.   So us aliases as much as you can when you’re typing at the PowerShell console, but if you’re writing a function, script, or module (or a blog post) you’re doing your readers a favor by using the complete command names.

    Download the PowerShell 7 Cheat Sheet

    Updated for 2022!

    Perfect to keep next to you when you're coding with PowerShell!

      We won't send you spam. Unsubscribe at any time.