How to combine the make folders command

I need to make five folders on each PC I touch.

New-Item -Path ‘D:Powershell2’ -ItemType Directory

This command works for creating the folders, I would like to learn how to string all five commands/folders together, so I can plug in a thumb drive, pull up explorer and double click on the script that will create all 5 folders.

Searching for tutorials but Google has let me down

Help Me Reddit, you are my only hope.

submitted by /u/bstevens2
[link] [comments]

Leave a Reply