title: Powershell Grabbing folder structure and rights
body: <p>I currently have a yearly folder structure that I am trying to implement. But people add new folders every year. Is it possible to grab all folders (but not files) and there rights at a certain level? Right now I grab specific folders using this:</p>
  
  <pre><code>#Get and Set the ACL to the new years folder structure
      foreach ($currentFolder in (Get-Content .\folders.txt)) {
      md $currentFolder  # Create Folder
      Get-ACL $currentFolder.Replace("16-17", "15-16") | Set-ACL $currentFolder
  }
  </code></pre>
  
  <p>But is it possible to grab all the folders within a certain level instead of specifying a specific folder?</p>