Tag Archives: cmdlets

  • 3. Built-In Powershell Aliases

    Posted on February 22, 2013 by in Desktop Engineering, Powershell, Scripting

    In PowerShell, an alias is another name assigned to a cmdlet, function, script, executable file, and so on. Just about anything you can run from the PowerShell command prompt can have an alias assigned to it.Windows users can utilize commands like dir, move, type, cls, etc… PowerShell also provides a set of aliases for Linux; ls, pwd, mv, man, cat, etc… PowerShell Aliases are provided for the purpose of allowing new users the ability to quickly interact with the shell. An alias is an alternative name assigned to a cmdlet. For example, “dir” is an alias for “Get-ChildItem.” This tutorial presents two types of aliases:

    Built-in Aliases – Predefined alternative names for Windows, Unix, and PowerShell cmdlets.
    User-defined Aliases – Custom alternative names created by the user.