From f1d4f15ef1f2fc0f37efabbf3d31710933a8117f Mon Sep 17 00:00:00 2001 From: reiyua Date: Fri, 12 Apr 2024 21:05:56 +1000 Subject: [PATCH] Remove redundant CSV file check code --- AutoOUADCreator.ps1 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/AutoOUADCreator.ps1 b/AutoOUADCreator.ps1 index 7fe60cf..6043b56 100644 --- a/AutoOUADCreator.ps1 +++ b/AutoOUADCreator.ps1 @@ -36,8 +36,4 @@ foreach ($row in $ouData) { Write-Host "OU '$ouName' already exists, proceeding to next entry." } } - # Basic check if CSV file actually exists and can be read - else { - Write-Host "CSV file not found at $csvPath" -} }