Create shortcut from PowerShell:

# define shortcut directory

$short_dir = “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\<application>”

# create start menu folder if it doesn’t already exist

If ( (test-path $short_dir) -eq $false ) { new-item -type directory $short_dir }

# create shortcut

$target = “<path to exe>”

$shortcut_lnk = “$short_dir\<name>.lnk”

$wscriptshell = New-Object -ComObject WScript.Shell

$Shortcut = $WScriptShell.CreateShortcut($Shortcut_lnk)

$Shortcut.TargetPath = $Target

$Shortcut.Save()

Share:

Facebook
Twitter
LinkedIn

Contact Us

Name
=
On Key

More Posts

Microsoft EndPoint Management

Sync ConfigMgr Collections to Intune

ConfigMgr collection sync is a feature that has been in ConfigMgr for a few versions. At a high level, it syncs the membership of a collection to a group in Entra ID that can then be

Read More »
WME Microsoft 365 Updates No. 025
Azure

WME Microsoft 365/Azure Updates 22 August 2025

1. Exchange Online: Temporary Mailbox Access Disruption via MAPI Overview Some Exchange Online users experienced mailbox access issues via the Messaging API (MAPI) on August 20, 2025. The disruption occurred after Microsoft reverted a recent service

Read More »