Powershell to Create multiple folders

Published: 06 December 2016
on channel: Abhijit Bole
11,198
79

#create multiple folders

#1. Create a text file with a name (foldername.txt) c:\scripts.
#2. Enter the list of folders and save the foldername.txt file.


Foreach($folder in Get-Content "C:\Scripts\Foldername.txt")
{
New-Item "c:\scripts\$folder" -ItemType directory

}


On this page of the site you can watch the video online Powershell to Create multiple folders with a duration of hours minute second in good quality, which was uploaded by the user Abhijit Bole 06 December 2016, share the link with friends and acquaintances, this video has already been watched 11,198 times on youtube and it was liked by 79 viewers. Enjoy your viewing!