I created a small script that allows you to select a folder that contains existing shortcuts (LNK files) and export them to a folder, where they are saved as DEM XML (shortcut) files.
05/27/2020 - Version 0.4 Changes
Open PowerShell and run the following script.
-- or --
Right-click the script in Windows Explorer and click Run with PowerShell.
Select the source folder that contains the shortcuts (LNK files) you want to convert.
Select the target folder where you want to save the DEM XML files.
Copy the XML files to your DEM configuration share (one by one, or all in one).
The location you want to copy the DEM XML files to is typically something like \\server\demconfigshare$\general\FlexRepository\Shortcut.
⚠️ I recommend to test the shortcuts in a test or acceptance environment first, before putting in them in production.
Background and introduction can be found here: https://www.ivandemes.com/bulk-convert-shortcuts-to-dynamic-environment-manager/
The script can be found on GitHub: https://github.com/ivandemes/Convert-LNK2DEMXML
Nice work, Ivan!
We do not officially support creating configuration files outside of the Management Console, but as long as the DEM agent and Management Console can't tell the difference, who can tell?
For completeness, you could set the comment XML attribute to the shortcut object's Description property.
Thanks! And good that you mentioned "not officially supported" statement.
I have the comment/description included on my ToDo list, thanks.
Thank for the script!
We are going to move from iVanti (the application that shall not named ) to VMware.