An A-Z Index of Windows PowerShell Commands
An A-Z Index of Windows PowerShell Commands
%
?
a
Get-Acl
key
Set-Acl
Active Directory
Get-Alias
gal
Import-Alias
ipal
New-Alias
nal
Set-Alias
sal
Compress-Archive
Expand-Archive
5+]
Get-AuthenticodeSignature
Set-AuthenticodeSignature
file
b
Begin
BITS
Break
c
Catch
Set-Location cd/chdir/sl
Get-ChildItem
dir/ls/gci
registry key)
Clear-Host
clear/cls
Clear-Item
cli
Get-Command
gcm
Measure-Command
Trace-Command
Add-Computer
Checkpoint-Computer
Remove-Computer
domain
Restart-Computer
Restore-Computer
Stop-Computer
Reset-ComputerMachinePassword
computer
Test-ComputerSecureChannel
domain
Add-Content
ac
Get-Content cat/type/gc
Set-Content
sc
Clear-Content
clc
Continue
Get-Command
gcm
Invoke-Command
icm
Enable-ComputerRestore
Disable-ComputerRestore
Get-ComputerRestorePoint
Test-Connection
ConvertFrom-CSV
CSV objects
pg. 1
Set permissions
Account, Computer, Group and User cmdlets
Return alias names for Cmdlets
Import an alias list from a file
Create a new alias.
Create or change an alias
Create a new archive/zipped file [PS 5+]
Extract files from an archive (zipped) file [PS
Get the signature object associated with a file
Place a signature in a .ps1 script or other
pg. 2
pg. 3
k
Stop-Process
kill/spps Stop a running process
l
Update-List
Add and remove items from a collection
Get-Location
pwd / gl
Get and display the current location
Pop-Location
popd
Set the current working location from the stack
Push-Location
pushd
Push a location to the stack
Set-Location cd/chdir/sl Set the current working location
m
Send-MailMessage
Send an email message
Add-Member
Add a member to an instance of a PowerShell
object
Get-Member
gm
Enumerate the properties of an object
Get-Module
gmo
Get the modules imported to the session
Import-Module
ipmo
Add a module to the session
New-Module
nmo
Create a new dynamic module (only in memory)
Remove-Module
rmo
Remove a module from the current session
Export-ModuleMember
Export specific module members
Move-Item
mv/move/mi Move an item from one location to another
o
Compare-Object diff/compare Compare the properties of objects
Group-Object
group Group objects that contain the same value
Measure-Object
Measure the properties of an object
New-Object
Create a new .Net object
Select-Object
select Select properties of objects
Sort-Object
sort Sort objects by property value
Where-Object
Filter the objects passed along the command
pipeline
Out-Default
Send output to default
Out-File
Send output to a file
Out-GridView
ogv
Send output to an interactive table
Out-Host
oh
Send output to the host
Out-Null
Send output to null
Out-Printer
lp
Send the output to a printer
Out-String
Send objects to the host as strings
p
Param
Script Parameters
Pause
Pause and display the message "Press Enter to
continue"
Powershell
Launch a PowerShell session
Convert-Path
cvpa
Convert a ps path to a provider path
Join-Path
Combine a path and child-path
Resolve-Path
rvpa
Resolves the wildcards in a path
Split-Path
Return part of a path
Test-Path
Return true if the path exists, otherwise
return false
Get-Pfxcertificate
Get pfx certificate information
Pop-Location
popd
Set the current working location from the stack
Push-Location
pushd
Push a location to the stack
Process
Function PROCESS block
Get-Process
ps/gps
Get a list of processes on a machine
Debug-Process
Attach a debugger to a running process
pg. 4
pg. 5
t
Tee-Object
tee
Send input objects to two places
New-Timespan
Create a timespan object
Trace-Command
Trace an expression or command
Get-Tracesource
Get components that are instrumented for
tracing.
Set-Tracesource
Trace a PowerShell component
Start-Transaction
Start a new transaction
Complete-Transaction
Commit the transaction
Get-Transaction
Get information about the active transaction
Use-Transaction
Add a command or expression to the transaction
Undo-Transaction
Roll back a transaction
Start-Transcript
Start a transcript of a command shell session
Stop-Transcript
Stop the transcription process
Trap
Handle a terminating error
Try ... Catch
Handle a terminating error within a scriptblock
Add-Type
Add a .NET Framework type to a PowerShell
session
Update-TypeData
Update extended type configuration
u
Get-Uiculture
Get the ui culture information
Get-Unique
gu
Get the unique items in a collection
Update-Formatdata
Update and append format data files
Update-Help
Download and install help files
Update-Typedata
Update the current extended type configuration
v
Clear-Variable
clv
Remove the value from a variable
Get-Variable
gv
Get a PowerShell variable
New-Variable
nv
Create a new variable
Remove-Variable
rv
Remove a variable and its value
Set-Variable
set/sv
Set a variable and a value
w
Checkpoint-WebApplicationMonitoring Create a checkpoint for an IIS web app
Get-WebApplicationMonitoringStatus Get the monitoring status of web apps
New-WebServiceProxy
Create a Web service proxy object
Where-Object
where/? Filter input from the pipeline
Where
Filter objects from the pipeline
While
Loop while a condition is True
Add-WindowsFeature
Install roles, role services, and features
Get-WindowsFeature
Retrieve roles, role services, and features
Remove-WindowsFeature
Remove roles, role services, and features
Write-Debug
Write a debug message to the host display
Write-Error
Write an object to the error pipeline
pg. 6
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. Call batch files with CMD.exe and VBScripts with cscript.
pg. 7