title: Powershell : ExtractToDirectory with no folder created
body: <p>I've got a zip file with this structure:  <code>test.zip -&gt; Mark -&gt; Today-&gt; *.* ( every files)</code></p>
  
  <p>When I extract it , as a result I get this : <code>test (folder) -&gt; Mark (folder) -&gt; Today -&gt;*.* ( every files)</code></p>
  
  <p>How Can I get this structure :  <code>Today (folder) -&gt;*.* (every files)</code></p>
  
  <p>I mean , I trying to avoid the first two folders creation.</p>
  
  <p>The best thing to be would be extract only the files without folders</p>
  
  <pre><code> function Unzip
   {
       param([string]$zipfile, [string]$out)
       [System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $out)
   }
  </code></pre>
  
  <p><code>unzip Test.zip $testPath</code></p>
  
  <p>Edit :
  I'm sorry I made a mistake about the question.
  The right question is  : How Can I extract only the files or the last folders (today). I wondering if I need a temporary folder or if there is a option for that, but reading the doc it seems not</p>