Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Set-Alias

Set-Alias - Powershell 4.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 »

Set-Alias

Short description
Creates or changes an alias (alternate name) for a cmdlet or other command element in the current Windows PowerShell session.

Syntax


Description
The Set-Alias cmdlet creates or changes an alias (alternate name) for a cmdlet or for a command element, such as a 
function, a script, a file, or other executable. You can also use Set-Alias to reassign a current alias to a new 
command, or to change any of the properties of an alias, such as its description. Unless you add the alias to the 
Windows PowerShell profile, the changes to an alias are lost when you exit the session or close Windows PowerShell.