PowerShell trick: Execute .lnk file
This article explains how to emulate double-clicking on a shortcut with PowerShell.
The first thing which comes to mind is Invoke-Item, so something like this will work:
Invoke-Item -Path C:\Users\Dex\Desktop\Notepad++.lnk |
But there is another way of doing this using Start-Process:
Start-Process -FilePath C:\Users\DDhami\Desktop\Notepad++.lnk |
Please feel free to add any such other ways!
Cheers!