title: Get target file of a shortcut and put that file in a new directory
body: <p>I am trying to get the target files from a folder with many .lnk shortcuts and put them in a new folder using Powershell.  I have the following script and it runs but the output folder does not show anything:</p>
  
  <p><code>$WScript = New-Object -ComObject WScript.Shell
  Get-ChildItem -Path "&lt;shortcut folder&gt;*.lnk" | ForEach-Object {$WScript.CreateShortcut($_.FullName).TargetPath} | Out-File -FilePath "&lt;Destination Folder&gt;"</code></p>