首页 > 技术文章 > Win10配置Powershell Alias

ichn 2017-11-28 16:43 原文

转投win10, 挺好的.

powershell真鸡儿难用...

添加alias

建立 C:\Users\ichne\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

每次ps运行会先执行这个脚本.

里面写

new-alias python C:\Users\ichne\anaconda3\python.exe

类似物

然后管理员执行

 Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

推荐阅读