powershell - 无法启动 powershell.exe
问题描述
问题是这样的:
我在 Windows Server 2008 r2 上安装了 powershell 5.1 版,当我尝试通过c:\Windows\System32\WindowsPowerShell\v1.0\
或c:\Windows\SysWOW64\WindowsPowerShell\v1.0\
路径启动 powershell.exe 时,没有任何反应。
但是,如果我将 powershell.exe 移动到另一个驱动器上的另一个目录(例如 e:/)并将其名称更改为 powershell_anyname.exe,那么控制台会正确启动。
我是这台服务器的管理员。
解决方案
推荐阅读
- python - 基于目标变量的编码技术预测看不见的数据
- powershell - 在备份文件夹中编辑新文件并将其移动到另一个文件夹
- python - 将函数应用于多个列表的每个元素;返回不同名称的数据框
- vue.js - Vue 单文件组件导入生命周期钩子
- python - 如何创建与大多数列匹配的 Pandas 列?
- c# - 如何动态解析数据列表并在树视图中显示结果
- algorithm - 如何阅读这个最长递增的子序列递归关系
- r - 如何修复 R markdown 中的 Kable 表错误?
- javascript - Vue v-for 循环“项目”未定义
- python - 你如何列出 Python 中的所有警告过滤器?