Posted on 2013-12-04
Hello. I hate to post this here as I'm sure it's simple and have been searching, but I am finding how to create a simple directory using PowerShell syntax.
My issue, getting the syntax right to append a new directory to the end of 26 directories that are all the same, but the end folder varies as it's done by state, and there is a folder within. So essentially I need a wildcard path and then be able to append a new directory say "Doctest" at the end of each line, each directory is basically:
So that is the most symplistic. The other possibility, the directories will be like :
But I really want it to be
I am trying to use PowerShell for this and I am very, very new to PowerShell and would like to script this task (as a good place to start) rather than create these folders manually.