Bulk convert existing shortcuts to Dynamic Environment Manager

Version 6

    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

    • Important notice about VMware support is added
    • Comment from shortcuts (if present) is automatically converted to DEM XML
    • Additional SOURCE and TARGET path checking


    Getting started


    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