Bulk convert existing shortcuts to Dynamic Environment Manager

Recently I was involved in a project where I had to create a lot of shortcuts in VMware Dynamic Environment Manager (DEM). DEM does not have a built-in option to bulk import existing shortcuts at this moment. Instead of creating the shortcuts all manually and since the DEM shortcuts are all file based (XML), I decided to create a small script. This script 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.


The script is PowerShell based and can be found on GitHub, where it will receive its updates.

You are free to use the script as provided, or adjust and run it for your own (specific) needs.


This is also the location to place comments, issues  and requests.

I am not a full time scripter. So, probably some things can and may be optimized. I am open for suggestions and recommendations 😉

Getting started

Running and using the script is really straight forward and isn’t really rocket science. But, to give you an impression anyway, here are the steps to get you started.

  1. Download the script from GitHub.
  2. Open the PowerShell command line and run the script.

    – or –

    Right-click the script in Windows Explorer and click Run with PowerShell.

  3. Select the source folder that contains the shortcuts (LNK files) you want to convert.

  4. Select the target folder where you want to save the DEM XML files.

  5. 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.

I hope this script is useful and helps you prepare and migrate to DEM a little bit faster.

Ivan de Mes

Ivan de Mes

Ivan de Mes works as an EUC Solution Architect for Login Consultants in The Netherlands. Ivan has over 19 years of experience in delivering workspace solutions at large customers in banking, health care, education and others.

In 2017, 2018, 2019 and 2020, Ivan was rewarded with the VMware vExpert status. In 2018 and 2019 Login VSI rewarded Ivan with the Login VSI Technology Advocate status.


For more information, please read the about page.

You may also like...

3 Responses

  1. May 11, 2020

    […] May 11 – Configure DEM – added link to Bulk convert existing shortcuts to Dynamic Environment Manager – Ivan de […]

  2. May 11, 2020

    […] DEM – added link to Bulk convert existing shortcuts to Dynamic Environment Manager – Ivan de […]

  3. May 16, 2020

    […] Bulk convert existing shortcuts to Dynamic Environment Manager – Ivan de Mes […]