powershell - powershell 中 Get-ChildItem 命令的默认结果集顺序是什么?

标签 powershell powershell-2.0

powershell 中 Get-ChildItem 命令的默认结果集顺序是什么?
到底有没有顺序,还是只是随机的,每次都会以不同的顺序给出结果。

最佳答案

First folders in alphanumeric order (first numbers as [char]).
Then files in alphanumeric order (first numbers as [char]).

关于powershell - powershell 中 Get-ChildItem 命令的默认结果集顺序是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15807802/

相关文章:

powershell - 如何重载 PowerShell 内置类的方法

powershell - 如何确保一次只运行一个脚本实例?

powershell - 使用PowerShell的Invoke-Command进行远程处理时,如何包含本地定义的函数?

.net - PowerShell-为什么不捕获 "Divide By Zero Exception"?

java - 如何将属性从 Powershell 传递给 jar?

.net - 如何在 PowerShell 中更改列表框的字体大小

powershell - 提升 Powershell 脚本

powershell - 在 PowerShell 版本 2 中检查进程和进程状态并根据单个进程或多个进程获得两个不同的输出?

powershell - PowerShell:为每个计数器计算rawvalue属性的连续值之间的增量

arrays - 将数组传递给函数非常慢