Powershell has a lot of built-in aliases for commands.

If you type

you get a list of all commands and their alias. Of course, you can also use the alias for get-alias

But what if you have to type a lot of command prompt code, or go often to the same folders? I think you know a better way how to use the time for that, so set your own alias.

The command above sets the alias excel to the excel path, and you never have to type it again. In this way you can use it for everything you need.

Now, there is another problem, when you close the PowerShell, all your alias are gone, so you have it to save and load after a new start of PowerShell.

Export your Alias:

Import your Alias:


See Microsoft Help for more information: Link


Set Alias in Powershell
Tagged on:

Leave a Reply


Get every new post on this blog delivered to your Inbox.

Join other followers:

Welcome Damir Kusar

Log in

Lost your password?
%d bloggers like this: