Powershell 执行CMD命令出现无法识别的情况


PowerShell交流中心分类: 变量-函数-脚本-条件-循环-参数Powershell 执行CMD命令出现无法识别的情况
-1
zhouhd837 asked 5年 ago

powershell 中执行 c:\windows\system32\manage-bde.exe  
提示无法将“c:\windows\system32\manage-bde.exe” 项识别为cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
 

1 Answers
-1
zhouhd837 answered 5年 ago

直接在电脑上使用ISE执行是正常的, 但是从第三方工具推送该脚本则出现如上方的提示。

Mooser Lee 管理员 replied 5年 ago

请帖完整脚本上下文。