Last active
July 28, 2025 05:21
-
-
Save rwp0/e94a7903e798336d38f9a5f7cd722345 to your computer and use it in GitHub Desktop.
Read Windows Shortcut Details with PowerShell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\MyUser> (new-object -comobject wscript.shell).CreateShortcut("C:\Users\MyUser\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Google Calendar.lnk") | |
FullName : C:\Users\MyUser\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Google Calendar.lnk | |
Arguments : "-taskbar-tab" "43091b08-244e-40f3-91c9-6a24dc9f454q" "-new-window" "https://calendar.google.com" "-profile" | |
"C:\Users\MyUser\AppData\Roaming\Mozilla\Firefox\Profiles\fw5sd6e9.default-nightly" "-container" "0" | |
Description : Google Calendar Web App | |
Hotkey : | |
IconLocation : C:\Users\MyUser\AppData\Roaming\Mozilla\Firefox\Profiles\vf5zb6e8.default-nightly\taskbartabs\icons\43091b08-244e-40f3-91c9-6a24dc9f454q.ico,0 | |
RelativePath : | |
TargetPath : C:\Users\MyUser\AppData\Local\Firefox Nightly\firefox.exe | |
WindowStyle : 1 | |
WorkingDirectory : C:\Users\MyUser\AppData\Local\Firefox Nightly |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(new-object -comobject wscript.shell).createshortcut("C:\Users\MyUser\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Google Calendar.lnk") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment