小编mus*_*que的帖子

电源外壳错误:无法绑定参数

当我尝试执行以下 PowerShell 命令时,出现错误。

命令 :

*PS 证书:\currentuser\authroot> gci | where 主题-likeUTN ”*

错误如下:

Where-Object : 无法绑定参数“FilterScript”。无法将“System.String”类型的“subject”值转换为“System.Management.Automation.ScriptBlock”类型。在行:1 字符:12 + gci | 其中 <<<< 主题 -类似UTN ”+ CategoryInfo : InvalidArgument: (:) [Where-Object], ParameterBindingException +fullyQualifiedErrorId :CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.WhereObjectCommand

我正在使用 Windows PowerShell ISE。
高度赞赏可行的解决方案

windows powershell shell-scripting

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

powershell ×1

shell-scripting ×1

windows ×1