How to Create Multiple Folders in PowerShell (New-Item, Loops, CSV)
To create multiple folders in PowerShell, give New-Item a comma-separated list of paths: New-Item -ItemType Directory -Path C:\Data\A, C:\Data\B. The -Path parameter takes an array, so one command makes them all. For dozens of folders, read the names from a list, a number range or a CSV and loop over them. I tested each method … Read more