Refactored Codes
How to create single and multiple directories in powershell
If want to create only one directory, then run the command below.
New-Item -ItemType Directory -Path Dir1
Screenshot of output of creating a single directory To Create Multiple Directories, run the command below
New-Item -ItemType Directory -Path Dir1, Dir2, Dir3