title: Powershell - Export structure of folders to txt or xls but only to a depth of 3 folders and no files
body: <p>I am looking to export a folder structure from a server and it's kind of huge.
  So I am looking to narrow the list to a depth of 3 folders max and show no files. So actually I have a part of the answer <a href="https://superuser.com/questions/258287/how-can-i-export-a-directory-structure?newreg=e3bcf7f69d94442190cb75b74eff33bb">here</a> already using Get-ChildItem.
  But I am missing the parameter to narrow down the list.
  Any idea ?</p>
  
  <p>Thanks</p>
  
  <p>EDIT: Export to a text file or excel sheet - No robocopy</p>