我使用PS-Get安装了Powershell模块(posh-git),但是我发现它很慢。 我想卸载它,但使用Remove-Module posh-git只从我当前的会话中卸载它,但我想使这永久。
Remove-Module posh-git
这是PS-GET的一个公开问题: https : //github.com/psget/psget/issues/164 :
这应该是一个功能。 现在,您必须从C:\Users\[yourUser]\Documents\WindowsPowerShell\modules目录手动删除它。
C:\Users\[yourUser]\Documents\WindowsPowerShell\modules