An A-Z Index of Commands: Windows Powershell
An A-Z Index of Commands: Windows Powershell
a
Get-Acl Get permission settings for a
file or registry key
Set-Acl Set permissions
Get-Alias gal Return alias names for Cmdlets
Import-Alias ipal Import an alias list from a file
New-Alias nal Create a new alias.
Set-Alias sal Create or change an alias
Get-AuthenticodeSignature Get the signature object
associated with a file
Set-AuthenticodeSignature Place a signature in a .ps1
script or other file
c
Set-Location cd/chdir/sl Set the current working location
Get-ChildItem dir/ls/gci Get child items (contents of a
folder or registry key)
Clear-Host clear/cls Clear the screen
Clear-Item cli Remove content from a variable or
an alias
Get-Command gcm Retrieve basic information about
a command
Measure-Command Measure running time
Trace-Command Trace an expression or command
Add-Computer Add a computer to the domain
Checkpoint-Computer Create a system restore point
(XP)
Restore-Computer Restore the computer to a
previous state
Add-Content ac Add to the content of the item
Get-Content cat/type/gc Get content from item (specific
location)
Set-Content sc Set content in the item (specific
location)
Clear-Content clc Remove content from a file/item
Get-Command gcm Get basic information about
cmdlets
Invoke-Command icm Run command
Enable-ComputerRestore Enable System Restore on a drive
Disable-ComputerRestore Disable System Restore on a drive
Get-ComputerRestorePoint Get the restore points on the
local computer
ConvertFrom-CSV Convert object properties (in CSV
format) into CSV objects
ConvertTo-CSV Convert .NET Framework objects
into CSV variable-length strings
ConvertTo-Html Convert the input into an HTML
table
ConvertTo-Xml Convert the input into XML
ConvertFrom-SecureString Convert a secure string into an
encrypted standard string
ConvertTo-SecureString Convert an encrypted standard
string into a secure string
Copy-Item copy/cp/ci Copy an item from a namespace
location
Export-Counter Export Performance Counter data
to log files
Get-Counter Get performance counter data
Import-Counter Import performance counter log
files
The cmdlets on this page are listed in A-Z order, matching either the Verb- or -Noun
or Alias of the cmdlet (some are listed more than once).
In addition to the above, Powershell can also run all the standard CMD commands
(apart from internal commands), plus VBScript and Resource kit utilities.