Powershell卸载模块
之前安装了个显示历史记录的自动补全模块PSReadLine,错误的也提示.于是想卸载掉.发现抱错,无法卸载.
说的是,powershell在运行的时候会带着这个玩意儿一起启动,正在使用中无法卸载.找了一圈,在powershell的github仓库找到了答案.
win+r调出运行窗口,输入 powershell -noprofile -command "Uninstall-Module PSReadLine" 会打开powershell运行卸载命令,卸载完成后会自动退出,这样就OK了.
顺便带一些powershell关于安装,查找,卸载的命令: