Recently James Kindon (@james_kindon) asked me if I could assist in importing published applications to WEM.
This resulted in a new function in the Citrix WEM PowerShell module.
You can read up on this module in Powershell Module for Citrix WEM – Part 1 – Application actions, Powershell Module for Citrix WEM – Part 2 – GPO Import and more, and Powershell Module for Citrix WEM – Part 3 – EnvironmentalSettings and MicrosoftUsvSettings from GPO and much, much more.
The new function is called Import-VUEMActionsFromBrokerApplicationCSV.
Imports an exported BrokerApplication CSV and converts this to WEM Applications Actions.
This is the full path including the filename to an exported BrokerApplications CSV file.
Location where the output xml file will be written to. Defaults to current folder if omitted.
The default filename is VUEMApplications.xml. Use this parameter to override this if needed.
Provide a prefix string used to generate Action names (as displayed in the WEM console).
This will enable the SelfHealing option.
If used will generate a description based on the Action name, but only if a description is not found during processing.
Use this parameter to select a different column in the CSV to provide the DisplayName in the Application Action.
Possible values here are “Name”, “BrowserName” or “ApplicationName”. Will use “PublishedName” if omitted.
Use this parameter if you wish to ignore the StartMenuFolder in the CSV file.
This will create all Application Actions in the default location, which is in the root of the StartMenu.
If used will create disabled Actions. Defaults to $False if omitted (uses Enabled status from the imported CSV).
The CSV input for this function needs to be generated using a Citrix powershell command:
Get-BrokerApplication | Export-CSV -Path <path to output csv file>
This command will not extract icons for your Published Applications and use them in the WEM actions.
To provide Icons for your actions, place them in the same folder als the CSV file that you are importing and name them according to the Published Application’s target (e.g. if the target is ‘outlook.exe’, extract or find an icon, name it ‘outlook.ico’, and place it in the folder where the CSV file is).
If you don’t provide an icon, a default icon will be generated.
If the target binary for the Published Application is available in the same path on the machine where you run the import function, the function will extract the icon from that binary.
If the CSV contains published content (URLs), this function will create them in WEM accordingly.
A big thank you again to James Kindon (@james_kindon) for helping me out during development and for testing the module!
You can download the module on Github: https://github.com/msfreaks/Citrix.WEM
Until next time,