diff --git a/CrashCourse.md b/CrashCourse.md index fce994f..17b6237 100644 --- a/CrashCourse.md +++ b/CrashCourse.md @@ -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: