我创建了一些别名 ( doskey),将它们保存到一个文件中,并AutoRun为cmd.exeat添加了值(指向该文件):
doskey
AutoRun
cmd.exe
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor
我想用PowerShell做同样的事情。PowerShell 是否有任何注册表值指向每次启动 PowerShell 时将运行的命令?
windows windows-registry powershell regedit
powershell ×1
regedit ×1
windows ×1
windows-registry ×1