Forrest logo
tool overview
On this page you find all important commands for the CLI tool Get-Alias. If the command you are looking for is missing please ask our AI.

Get-Alias

Get-Alias is a command line tool in Windows PowerShell that allows users to retrieve the aliases configured in PowerShell. Aliases are alternate names for cmdlets, functions, and scripts that make it easier and quicker to execute commands. This command provides a list of all the aliases defined in the current PowerShell session. It displays the alias name, the command it is associated with, and the module that introduced the alias if applicable. Get-Alias can be used to find the alias for a specific command by specifying the desired command name as a parameter. Additionally, it allows users to create and remove aliases using the New-Alias and Remove-Alias cmdlets respectively. Lastly, Get-Alias is a helpful tool for users to understand and manage the aliases available in their PowerShell environment.

List of commands for Get-Alias:

  • out-string:tldr:1b51a out-string: Print host information as string.
    $ Get-Alias | Out-String
    try on your machine
    explain this command
  • out-string:tldr:bb11f out-string: Convert each object to a string rather than concatenating all the objects into a single string.
    $ Get-Alias | Out-String -Stream
    try on your machine
    explain this command
  • where-object:tldr:39757 where-object: Filter aliases by its name.
    $ Get-Alias | Where-Object -${Property} ${Name} -${eq} ${name}
    try on your machine
    explain this command
tool overview