title: Issues with Target Path in powershell in creating a short cut
body: <p>I am trying to create a short cut on public desktop for users, but this target path for this short cut is causing some issues.</p>
  
  <pre class="lang-powershell prettyprint-override"><code>$wshshell = New-Object -ComObject WScript.shell
  
  $desktop = [System.Environment]::GetFolderPath("desktop")
  
  $lnk = $wshshell.CreateShortcut("$desktop\CLMCPDEDEV.lnk")
  
  $lnk.TargetPath = "C:\Program Files (x86)\Unisys\WebEnabler\Web Enabler.exe" "configfile=c:\development-installs\web-enabler-config\CLMCPDEDEV.cfg"
  </code></pre>
  
  <p>I have the config file in another folder and exe is in a different path. I'm new to power shell, how do I bypass that space  between <code>"C:\Program Files (x86)\Unisys\WebEnabler\Web Enabler.exe"</code> and <code>"configfile=c:\development-installs\web-enabler-config\CLMCPDEDEV.cfg"</code>?  That's the full short cut path when I do this manually. Any guidance is much appreciated. </p>