For example, use this script to add a shortcut to a company website or any other URL.
1. Go to the Windows Desktop Shortcuts page: Log in to the KACE SMA Administrator Console
2. On the left navigation bar, click Scripting, then click Configuration Policies.
3. On the Configuration Policies panel, in the Windows section, click Desktop Shortcuts.
4. Provide the following information:
| Option | Description |
| Name | A name that identifies the script. This name appears on the Scripts page |
5. Click Add Shortcut
6. Specify shortcut settings
| Option | Description |
| Name | The text label that appears below or next to the shortcut. |
| Target | The full path to the application, file, or URL to be launched when the shortcut is selected. For example: - To create a shortcut for explorer.exe, use this format: C:\WINDOWS\explorer.exe
- To create a shortcut from the UNC share for explorer.exe, use this format:
- \\192.168.1.1\WINDOWS\explorer.exe
- \\HostName\WINDOWS\explorer.exe
|
| Parameters | The command-line parameters required for the shortcut. For example: /S /IP=123.4 or /S https://support.quest.com/kace-systems-deployment-appliance/kb |
| Working Directory | The changes to the current working directory. For example: C:\Windows\Temp |
| Location | The location for the shortcut to appear. Options include = Desktop and Start Menu. |
7. Click Save Changes to save the shortcut.
8. Click Add Shortcut to add more shortcuts. To edit or delete a shortcut, hover over a shortcut and click the Edit button or the Delete button.
9. Click Save to display the Script Detail page.
10. Select options for configuration, deployment, and scheduling.
11. To edit the raw XML used in the script, click Edit XML below the Schedule section.
12. Click Save.