小编Man*_*ndy的帖子

如何从阵列中删除 powershell

如何从循环数组pscustomobject中删除行?

如果我在循环中使用它,则会出现错误:

$a = $a | where {condition to remove lines}
Run Code Online (Sandbox Code Playgroud)

出现以下错误

Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.
Run Code Online (Sandbox Code Playgroud)

任何从数组中删除行的建议。

powershell powershell-3.0

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

标签 统计

powershell ×1

powershell-3.0 ×1