redundant
This commit is contained in:
parent
1ec29a4d03
commit
0934084b60
|
@ -100,18 +100,6 @@ foreach ($letter in $letterArray)
|
|||
}
|
||||
```
|
||||
|
||||
And also works for results from `Get-ChildItem` like when looping through files in a folder.
|
||||
|
||||
```powershell
|
||||
foreach ($file in Get-ChildItem)
|
||||
{
|
||||
if ($file.length -gt 100KB)
|
||||
{
|
||||
Write-Host $file
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
# items and paths
|
||||
|
||||
In PowerShell files and folders are called items. Some useful cmdlets for working with them are:
|
||||
|
|
Loading…
Reference in a new issue