这里只为了演示foreach,其实上面的第二个例子可以用Foreach-Object更简洁。 PS C:\Powershell> dir C:\Windows | where {$_.length -gt 1mb} ...
確定! 回上一頁