From 0934084b608f5f0a45cdf94279c5931264270ceb Mon Sep 17 00:00:00 2001 From: talon Date: Sun, 18 Jun 2023 21:59:27 -0600 Subject: [PATCH] redundant --- CrashCourse.md | 12 ------------ 1 file changed, 12 deletions(-) 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: