title: Powershell unzip error
body: <p>I got a following script from the internet, when I tried to run it gives me an error. </p>
  
  <pre><code>#script
  #unzip folder
  
  $shell_app = new-object -com shell.application
  $filename = "test.zip"
  $zip_file = $shell_app.namespace("C:\temp\$filename")
  
  #set the destination directory for the extracts
  $destination = $shell_app.namespace("C:\temp\zipfiles")
  
  #unzip the file
  $destination.Copyhere($zip_file.items())
  </code></pre>
  
  <p>--- Error Message</p>
  
  <pre><code>    You cannot call a method on a null-valued expression.
  At line:1 char:22
  + $destination.Copyhere &lt;&lt;&lt;&lt; ($zip_file.items())
      + CategoryInfo          : InvalidOperation: (Copyhere:String) [], RuntimeException
      + FullyQualifiedErrorId : InvokeMethodOnNull
  </code></pre>