I have some aliases that are defined in MS Dos style, how can I invoke those from Powershell? When I type "alias" from Powershell prompt, I can see my aliases defined there but when I try to call them by just typing their names, Powershell complains with a message like "The term 'whatever' is not recognized as the name of a cmdlet...".
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
From Getting doskey macros to work in PowerShell:
and
See that page for more information. |
|||
|
|
doskey. Example: superuser.com/questions/49170/create-an-alias-in-windows-xp – sysadmin1138♦ Jun 5 '12 at 20:46