带 Passthru 的 Out-GridView for powershell 2?

Out-GridView with Passthru for powershell 2?

Powershell v3 添加了 -Passthru 开关到 Out-GridView cmdlet,允许用户 select 项目 returned 回管道。

我正在为 Powershell v2 (Dotnet 3.5/4.0) 寻找类似的解决方案。我需要通过管道输入某些值的选项,允许用户过滤和选择多个值,并且 return selected 项目到管道。

有没有办法 运行 新的 Out-GridView 通过 dotnet?或者也许有人为类似的东西创建了代码?

我知道了,FWIW:

Select -Item

不是真正的网格视图,但它适用于 V2,并且适用于无法选择 GridView 的远程会话。