Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Set ACL Recursively for a single folder within multiple directories

$
0
0

Hello,

Share Directory is D:\Projects

Within Projects, we have several hundred project folders --

  • 001-001 Project A
  • 001-002 Project B
  • 001-003 Project C
  • Etc.

Within each project folder there are many folders and files; However, the one I want to restrict is PM

  • Folder A
  • Folder B
  • Folder C
  • PM
  • miscellaneous files

The question is how do I setup the ForEach statement to parse the Project Share and only set the ACLs on the PM folder?


Viewing all articles
Browse latest Browse all 15028

Latest Images

Trending Articles



Latest Images