14
6
I have created some aliases (doskey
), saved them to a file and added AutoRun
value (pointing that file) for cmd.exe
at:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor
I would like to do the same with PowerShell. Is there any registry value for PowerShell which points to commands that will be run each time I start PowerShell?
I hate using doskey. I find that just putting those aliases in my script (as function)s works better. – djangofan – 2013-08-15T15:58:36.573