Question : Create Windows Shortcut from PowerShell script

I need to create a Powershell script that will create shortcuts in directory A to a file in Directory B.  This is so I can have one copy of the file (in directory B) and links to it in multiple other directories on the same server.  If you need more information to answer this question, please let me know.

This will run on a WIndows Server 2008 R2 (x64) installation with .Net Framework 3.5.1 and PowerShell 2.0

Answer : Create Windows Shortcut from PowerShell script

I think you will need to resort to instantiating WScript.Shell from your PowerShell script.

This sample should give you what you need: http://www.leedesmond.com/weblog/?p=60
Random Solutions  
 
programming4us programming4us