Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Create Shortcut In My Network Places Using PowerShell

$
0
0
Hello!  How can one create a shortcut in My Network Places using PowerShell? I found a method described using VB at http://blogs.technet.com/heyscriptingguy/archive/2005/05/09/how-can-i-create-a-shortcut-in-my-network-places.aspx, but it does not create the shortcut in the same way that the native Windows GUI creates it.  Unfortunately, Group Policy Preferences does not help either since it does not create a proper shortcut in the NetHood folder (it simply creates a shortcut instead of creating a folder with target.lnk and desktop.ini). 

I found another VB solution at http://bartdesmet.net/blogs/bart/archive/2005/09/23/3554.aspx that does correctly create the network location the same way the native Windows GUI does. Is there an easier method to accomplish this using PowerShell?

Thanks.

Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>