Remove redundant CSV file check code
This commit is contained in:
parent
a4f52d2025
commit
f1d4f15ef1
|
@ -36,8 +36,4 @@ foreach ($row in $ouData) {
|
||||||
Write-Host "OU '$ouName' already exists, proceeding to next entry."
|
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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue