Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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!