0% found this document useful (0 votes)
144 views

Powershell. Commands

This document provides aliases for common PowerShell commands. It lists the command name and aliases for commands such as Set-Location (cd, chdir, sl), Get-Content (cat, gc, type), Add-Content (ac), Set-Content (sc), and Copy-Item (copy, cp, cpi). It also includes descriptions of what each command does, such as getting content from the internet, sorting objects, and starting or stopping processes and jobs.

Uploaded by

Kiran K
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
144 views

Powershell. Commands

This document provides aliases for common PowerShell commands. It lists the command name and aliases for commands such as Set-Location (cd, chdir, sl), Get-Content (cat, gc, type), Add-Content (ac), Set-Content (sc), and Copy-Item (copy, cp, cpi). It also includes descriptions of what each command does, such as getting content from the internet, sorting objects, and starting or stopping processes and jobs.

Uploaded by

Kiran K
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Command name Alias

Set-Location cd, chdir, sl


Get-Content cat, gc, type
Add-Content ac
Set-Content sc
Copy-Item copy, cp, cpi
Remove-Item del, erase, rd, ri, rm, rmdir
Move-Item mi, move, mv
Set-Item si
New-Item ni
Start-Job sajb
Compare-Object compare, dif
Group-Object group
Invoke-WebRequest curl, iwr, wget
Measure-Object measure
Resolve-Path rvpa
Resume-Job rujb
Set-Variable set, sv
Show-Command shcm
Sort-Object sort
Start-Service sasv
Start-Process saps, start
Suspend-Job sujb
Wait-Job wjb
Where-Object ?, where
Write-Output echo, write
Description
Sets the current working location to a specified location.
Gets the content of the item at the specified location.
Adds content to the specified items, such as adding words to a file.
Writes or replaces the content in an item with new content.
Copies an item from one location to another.
Deletes the specified items.
Moves an item from one location to another.
Changes the value of an item to the value specified in the command.
Creates a new item.
Starts a Windows PowerShell background job.
Compares two sets of objects.
Groups objects that contain the same value for specified properties.
Gets content from a web page on the Internet.
Calculates the numeric properties of objects, and the characters, words, and lines in string objects, such as files …
Resolves the wildcard characters in a path, and displays the path contents.
Restarts a suspended job
Sets the value of a variable. Creates the variable if one with the requested name does not exist.
Creates Windows PowerShell commands in a graphical command window.
Sorts objects by property values.
Starts one or more stopped services.
Starts one or more processes on the local computer.
Temporarily stops workflow jobs.
Suppresses the command prompt until one or all of the Windows PowerShell background jobs running in the session are …
Selects objects from a collection based on their property values.
Sends the specified objects to the next command in the pipeline. If the command is the last command in the pipeline,…

You might also like