• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Anyone good with Powershell?

multiband8303

Senior member
Need to write a script that will accomplish this..

Environment = numerous folders with numerous child folders such as this.

Parent folder = client name
Child Folder = Part 1 child folder of part 1 = section a
Child Folder = part 2 child folder of part 2 = section a

etc etc

I just want to create a part 7 folder for each client. and set permissions with this script. I could do it manually but it would take hours.
 
Does that really need PowerShell? It looks like something that could be done at a regular command prompt, with:

for /d %i in (*) do mkdir "%i\part 7" && mkdir "%i\part7\section a"
 
Originally posted by: Ken g6
Does that really need PowerShell? It looks like something that could be done at a regular command prompt, with:

for /d %i in (*) do mkdir "%i\part 7" && mkdir "%i\part7\section a"

could you elaborate the exact syntax?
 
Ooohkay...

Start by typing "for /?". That gives you the syntax for "for".

for /d goes through directories. in (*) means all directories in the current one.
 
Back
Top