dir | Out-6ren">
gpt4 book ai didi

linux - 适用于 Linux 的 Powershell : Workaround for missing "out-gridview"?

转载 作者:太空狗 更新时间:2023-10-29 12:12:12 26 4
gpt4 key购买 nike

2016 年 8 月,Microsoft 的 Powershell 开源。

但是,目前还没有“out-gridview”选项。自动完成功能显示这些 Out* 选项

PS /mnt> dir | Out                                            
Out-Default Out-File Out-Host Out-Null Out-String outocp

注意此时没有Out-Gridview。我是否忽略了一个功能,可以执行类似操作的命令行开关?有时我希望将我的表格数据显示在可排序的 GUI 窗口中(用于向不习惯命令行窗口的 Windows 用户显示一些内容)。

我的powershell

PS /mnt> $PSVersiontable           

Name Value
---- -----
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.9
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.

最佳答案

现在有了。 https://devblogs.microsoft.com/powershell/out-gridview-returns/

Install-Module Microsoft.PowerShell.GraphicalTools
get-childitem | out-gridview

关于linux - 适用于 Linux 的 Powershell : Workaround for missing "out-gridview"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39180173/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com