title: Powershell unzip file with .zip extension and move it to another folder
body: <p>I hope some of you can help me. I got stuck modifying a powershell script.</p>
  
  <p>The script checks for a zip file (file name is a fix value) in a specific folder (origin) and moves it to another folder (destination), however I need a script which checks for the .zip extension, not a fix value and moves it to another folder as well. I'm using this script at the moment:</p>
  
  <pre><code>powershell.exe -nologo -noprofile -command "&amp; { $shell = New-Object -COM Shell.Application; $target = $shell.NameSpace('D:\Anlagen'); $zip = $shell.NameSpace('C:\Temp\Rechnungen\Outlook'); $target.CopyHere($zip.Items(), 16); }"
  </code></pre>
  
  <p>As you can see I need this script as a batch.file.</p>