Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 1.0 » Get-Alias

Get-Alias - Powershell 1.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-Alias

Description
Return alias names for Cmdlets

Usage


Options


Example(s)
Retrieve all aliases for the current session, displaying the cmdlet and the alias name:

PS C:\>get-alias

Retrieve all aliases that start with the letter S

PS C:\>get-alias -name s*

Retrieve all aliases that reference the Set-Location cmdlet :

PS C:\>get-alias | where-object {$_.Definition -match "Set-Location"}

Retrieve all built-in aliases (these have the ReadOnly option set):

PS C:\>get-alias | where-object {$_.Options -match "ReadOnly"}