I am trying to create a script that will automatically make certain DFS folders and targets. Basically in our enterprise we have an order created 10-0xxxx and we have two locations Chicago and Salt Lake City. We need to auto-create the dfs folder for and target to our file server in SLC, so that the files dropped in the SLC folder underneath 10-0xxxx would be local to our employees in SLC.
Our structure is something like this:
So we have a main job folder, and then our two location based DFS folders.