title: Create directory if it does not exist
body: <p>I am writing a PowerShell script to create several directories if they do not exist.</p>
  
  <p>The filesystem looks similar to this</p>
  
  <pre><code>D:\
  D:\TopDirec\SubDirec\Project1\Revision1\Reports\
  D:\TopDirec\SubDirec\Project2\Revision1\
  D:\TopDirec\SubDirec\Project3\Revision1\
  </code></pre>
  
  <ul>
  <li>Each project folder has multiple revisions. </li>
  <li>Each revision folder needs a Reports folder.  </li>
  <li>Some of the "revisions" folders already contain a Reports folder; however, most do not. </li>
  </ul>
  
  <p>I need to write a script that runs daily to create these folders for each directory.</p>
  
  <p>I am able to write the script to create a folder, but creating several folders is problematic.</p>