title: how to copy folder structure only with PowerShell
body: <p>I want to copy the folder structure only (no data) and preserve the ACL from the source</p>
  
  <p>I know that my code will copy the files over.</p>
  
  <pre><code>$sourceDir = "\\Server\Path"
  $targetDir = "\\Server2\Path"
  Get-ChildItem -Path $sourceDir | Copy-Item -Destination $targetDir -Recurse -Container
  </code></pre>
  
  <p>robocopy and xcopy is not allowed in our organization. I don't know why but it's not. I'd rather not use the GUI to manually create folders/subfolders.</p>