CreateDesktopShortcut
[-exePath] <String>
[-shortcutName] <String>
[-iconPath] <String> = ""
[-arguments] <String> = ""
The CreateDesktopShortcut
function creates a shortcut to an exe on the desktop.
CreateDesktopShortcut -exePath "C:\App\StartApp.exe" -shortcutName "Start App"
CreateDesktopShortcut -exePath "C:\App\StartApp.bat" -shortcutName "Start App" -iconPath "C:\App\StartApp.exe" -arguments "arg1"