Windows PowerShell is an extremely powerful way to manage many aspects of modern Windows systems. For years users were limited to the limitations of the Windows Command Prompt but in 2006, PowerShell emerged as a powerful alternative.

All PowerShell commands allow you to quickly access many aspects of the Windows operating system, including typically hidden Windows properties.

all PowerShell Commands

_________

In this Article

  • PowerShell
  • PowerShell vs. Command Prompt
  • The most Common All PowerShell Commands
  • The basic Windows PowerShell commands
  • How to list all PowerShell commands?
  • How many different PowerShell commands are there?
  • What does $ in PowerShell stand for?
  • Is PowerShell superior to CMD?
  • All PowerShell Commands – Final Words

_________

Understanding Power Shell

1. All PowerShell Commands

All PowerShell commands are referred to as cmdlets (pronounced command-lets). PowerShell, in addition to cmdlets, allows you to run any command on your system.

Cmdlets are PowerShell commands rather than standalone executables. PowerShell modules are collections of cmdlets that may be loaded on demand. Cmdlets can be written in any compiled.NET language or in PowerShell’s own scripting language.

PowerShell names cmdlets using a Verb-Noun name pair. For example, the Get-Command cmdlet in PowerShell is used to retrieve all of the cmdlets registered in the command shell. The verb denotes the action that the cmdlet takes, and the noun denotes the resource on which the cmdlet acts.

2. PowerShell vs. Command Prompt

For beginner users, PowerShell can look exactly like the Command Prompt. However, there are major differences and the main one is that Windows PowerShell has like the name implies, more power.

The main difference is that PowerShell uses cmdlets rather than commands. Another difference is that PowerShell is built around the concept of objects, while Command Prompt works on basic commands.

In short, All PowerShell Commands Prompt on steroids.

All PowerShell Commands

3. The most Common PowerShell Commands

The most common Windows’ All PowerShell commands, or cmdlets as they are called, are these:

  • Get-Location – Get the current directory
  • Set-Location – Set the current directory
  • Move-item – Moves a file to a new location
  • Copy-item – Copies a file to a new location
  • Rename – Renames an existing file
  • New-item – Creates a new file

4. The basic Windows’ All PowerShell commands

Here are the most commonly used Windows PowerShell commands and what they do:

CommandDescription
Add-contentThis PowerShell Command adds the content to your specified file.
Add-ComputerThis PowerShell Command adds the local computer to a domain or workgroup.
Add-HistoryThis PowerShell Command is used to add the command in the history.
Add-jobTriggerThis PowerShell Command adds the job triggers to the scheduled jobs.
Add-memberThe PowerShell Command adds the custom methods or properties to an instance of a PowerShell object.
Add-typeThis PowerShell Command adds a Microsoft .NET framework class to a Windows PowerShell session.
Clear-ContentThis PowerShell Command deletes the content of a file but does not delete that file.
Clear-HistoryThis PowerShell Command deletes the entries from the command history.
Clear-ItemThis PowerShell Command clears the value of an item or variable but does not clear that item or a variable.
Clear-ItemPropertyThis PowerShell Command clears the value of a property but does not delete that property.
Clear-VariableThis PowerShell Command deletes the value of a variable.
Clear-HostThis PowerShell command clears the display of the host program.
Copy-ItemPropertyThis PowerShell Command copies a value and property from a specified location to another location.
Copy-ItemThis PowerShell Command copies an item from one location to another.
Complete-TransactionThis PowerShell Command commits the active transaction.
Compare-objectThis PowerShell Command compares two sets of objects.
Disable-PSBreakpointThis PowerShell Command disables the breakpoint in the current console.
Enable-PSBreakpointThis PowerShell Command enables the breakpoint in the current console.
Find-packageThis PowerShell Command finds the software packages in the available packages sources.
Find-scriptThis PowerShell Command is used to find a script
ForEach-ObjectThis PowerShell Command performs an operation on each item in a collection of input objects.
Get-AliasThis PowerShell Command gets the aliases for the current session.
Get-childItemThis PowerShell Command gets the item and the child items in one or more specified locations.
Get-CommandThis PowerShell Command is used to get all commands.
Get-ContentThis PowerShell Command gets the content of the file at the specified location.
Get-DateThis PowerShell Command is used to get the current date and time.
Get-ExecutionPolicyThis PowerShell Command gets the execution policy for the current session.
Get-HelpThis PowerShell Command displays information about PowerShell commands and concepts.
Get-HistoryThis PowerShell Command displays a list of commands which are entered during the current session.
Get-hostThis PowerShell Command gets an object which represents the current host program.
Get-InstalledScriptThis PowerShell Command gets a script which is installed for the current user.
Get-ItemThis PowerShell Command gets the item or a file at a particular location.
Get-ItemPropertyThis PowerShell Command gets the properties of a particular item.
Get-LocationThis PowerShell Command displays the current working location.
Get-PSBreakpointThis PowerShell Command gets the breakpoint which is set in the current session.
Get-PackageThis PowerShell Command displays the list of all installed packages by using package management.
Get-ProcessThis PowerShell Command gets the processes which are running on local or remote computers.
Get-ServiceThis PowerShell Command gets the services on local or remote computers.
Get-TransactionThis PowerShell Command gets the currently active transaction.
Get-VariableThis PowerShell Command gets the variable in the current console.
Install-packageThis PowerShell Command is used to install one or more software packages.
Install-scriptThis PowerShell Command is used to install a script.
Invoke-commandsThis PowerShell Command executes commands on local and remote computers.
Move-ItemThis PowerShell Command is used to move an item from one location to another.
Move-ItemPropertyThis PowerShell Command is used to move the property of an item from one location to another.
New-aliasThis PowerShell Command creates a new alias.
New-ItemThis PowerShell Command creates a new item.
New-ItemPropertyThis PowerShell Command creates a new property for an item and sets its value.
New-ServiceThis PowerShell Command creates a new Window service.
New-variableThis PowerShell Command creates a new variable.
Read-HostThis PowerShell Command reads a line of inputs from the console.
Remove-computerThis PowerShell Command removes a local computer from its domain.
Remove-ItemThis PowerShell Command deletes the particular item.
Remove-ItemPropertyThis PowerShell Command deletes the property & its value from an item.
Remove-jobThis PowerShell Command removes the background job of Windows PowerShell.
Remove-PSBreakpointThis PowerShell Command deletes the breakpoint from the current console.
Remove-variableThis PowerShell Command deletes a variable with its value.
Rename-computerThis PowerShell Command is used to rename a computer.
Restart-ServiceThis PowerShell Command stops and starts one or more services.
Restart-computerThis PowerShell Command is used to restart the Windows operating system on local and remote computers.
Resume-jobThis PowerShell Command is used to restart a suspended job.
Save-HelpThis command is used to download and save the newest help files to a file system directory.
Save-packagesThis PowerShell Command is used to save the packages to the local computer without installing them.
Save-ScriptThis PowerShell Command is used to save a script.
Select-stringThis PowerShell Command is used to find the text in strings or files.
Send-MailMessageThis PowerShell Command is used to send an e-mail message.
Set-AliasThis PowerShell Command creates or changes the alias for a cmdlet in the current Windows PowerShell.
Set-contentThis PowerShell Command writes the content in a file.
Set-DateThis PowerShell Command changes the time of the system.
Set-ItemThis PowerShell Command changes the value of an item to the value specified in the command.
Set-ItemPropertyThis PowerShell Command changes or creates the value of the property of an item.
Set-LocationThis PowerShell Command is used to set the current working location to a particular location.
Set-PSBreakpointThis PowerShell Command sets a breakpoint on a command, line or variable.
Set-ScheduledJobThis PowerShell Command changes the scheduled Job.
Set-ServiceThis PowerShell Command stops, starts and suspend services, and changes its properties.
Set-variableThis PowerShell Command sets the value of the variable.
Show-commandThis PowerShell Command creates the Windows PowerShell commands in a graphical command Window.
Sort-ObjectThis PowerShell Command sorts the object by the property value.
Start-JobThis PowerShell Command starts a background job of Windows PowerShell.
Start-ProcessThis PowerShell Command starts on or more process on a local computer.
Start-servicesThis PowerShell Command starts one or more services which are stopped.
Start-transactionThis PowerShell Command starts a transaction.
Stop-ComputerThis PowerShell Command shut down the local and remote computers.
Stop-JobThis PowerShell Command stops a background job of Windows PowerShell.
Stop-ProcessThis PowerShell Command stops one or more processes.
Stop-ServicesThis PowerShell Command stops one or more running services.
Suspend-jobsThis PowerShell Command temporarily stops the workflow jobs.
Suspend-ServiceThis PowerShell Command suspends or pauses one or more running services.
Undo-transactionThis PowerShell Command rollbacks the active transaction.
Uninstall-moduleThis PowerShell Command is used to uninstall a module.
Uninstall-PackageThis PowerShell Command uninstalls one or more packages of software.
Unregister-ScheduledJobThis PowerShell Command deletes the scheduled jobs on the local computer
Update-HelpThis PowerShell Command is used to download and installs the newest help files on the computer.
Write-OutputThis PowerShell Command sends the particular object down the pipeline to the next command.

All PowerShell Commands – How to Guide

5. How to list all PowerShell commands?

You can list all the supported All PowerShell commands by typing into the PowerShell:

Get-Command

However, be warned that the list is going to be long: There are over 200 commands available in Windows PowerShell!

6. How many different PowerShell commands are there?

PowerShell supports over 200 cmdlets. Because the Windows’ All PowerShell command prompt is not case-sensitive, you can type these commands in either upper or lower case. The following are the key cmdlets: Get-Location – Returns the path to the current directory.

7. What does $ in PowerShell stand for?

The ‘THIS’ toke is $ in PowerShell. It refers to the thing that is currently in the pipeline. It may be thought of as an alias for the automated variable $PSItem.

8. Are All PowerShell Commands superior to CMD?

PowerShell is an improved version of cmd. It is not only an interface but also a scripting language used to make administrative tasks easier. Most commands conducted in cmd may also be executed in PowerShell.

All PowerShell Commands – Final Words

PowerShell is a powerful command-line tool, scripting language, and platform for automation. It enables system administrators to automate regular operations, allowing them to spend more time on more important duties. We adore All PowerShell Commands at PDQ. (In fact, we offer a PowerShell blanket.) We’ve assembled a gallery of All PowerShell commands in this post to help our users save time and their sanity. Continue reading our Windows 10 guidelines for more information.