title: Expand-Archive in powershell is failing to extract nested folders and files
body: <p>I have the following simple powershell to extract a zip folder (containing other folders and only log files) to a destination</p>
  
  <pre><code>$FolderPath = "C:\Temp\Whatever"
  
  Expand-Archive -Path "$FolderPath\logs.zip" -DestinationPath "$FolderPath\logs"
  </code></pre>
  
  <p>Unfortunately this returns a whole bunch of errors like below....</p>
  
  <pre><code>Remove-Item : Cannot find path 'C:\Temp\Whatever\logs\1_Selenium SEPA-Test\Attempt1\1_Start VM's\Release\1_Initialize Agent.log' because it does not exist.
  At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:410 char:46
  + ...                 $expandedItems | % { Remove-Item $_ -Force -Recurse }
  +                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (C:\Temp\Whateve...alize Agent.log:String) [Remove-Item], ItemNotFoundException
      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
  
  Remove-Item : Cannot find path 'C:\Temp\Whatever\logs\1_Selenium SEPA-Test\Attempt1\1_Start VM's\Release\1_Initialize Job.log' because it does not exist.
  At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:410 char:46
  + ...                 $expandedItems | % { Remove-Item $_ -Force -Recurse }
  +                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (C:\Temp\Whateve...tialize Job.log:String) [Remove-Item], ItemNotFoundException
      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
  </code></pre>
  
  <p>and loads of other errors that are similar</p>
  
  <p>I can confirm that the file referenced in the first error <code>C:\Temp\Whatever\logs\1_Selenium SEPA-Test\Attempt1\1_Start VM's\Release\1_Initialize Agent.log</code> does exist in the zip folder at an equivalent location...</p>
  
  <p><a href="https://i.stack.imgur.com/3D7N9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3D7N9.png" alt="enter image description here"></a></p>
  
  <p>After the script concludes, I do a see an incomplete folder in the directory specified.</p>
  
  <p><a href="https://i.stack.imgur.com/LUsoe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LUsoe.png" alt="enter image description here"></a></p>
  
  <p>Whats going on here?</p>
  
  <p>Thanks,</p>